結果 : sql multiple conditions if statement