結果 : sql declare variable and assign value from select