結果 : using if in sql select statement