結果 : sql variable if statement