IF
Returns the value passed in the 2nd or 3rd argument, depending on whether the conditional expression is true
IF(condition, value_if_true, value_if_false)
conditionConditional expression
value_if_trueThe value returned when the conditional expression is true
value_if_falseThe value returned if the conditional expression is false
Examples
SELECT IF(10 > 20, "TRUE", "FALSE");