結果 : sql if statement set variable