結果 : sql insert statement with if condition