Control Flow Functions
Built-In functions for assessing data to determine what results to return.
CASE OPERATORReturns the result where value=compare_value or for the first condition that is true.
IF FunctionIf expr1 is TRUE, returns expr2; otherwise it returns expr3.
IFNULLCheck whether an expression is NULL.
NULLIFReturns NULL if expr1 = expr2.
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.