結果 : assign value from select statement to a variable sql