結果 : sql set variable and use in query