結果 : if else condition in select statement in sql server