結果 : select inside if condition sql