結果 : sql set value to variable from select