結果 : sql declare variable and set value from select