MySQL Control Flow Functions
MySQL offers many built-in control flow functions. This section describes the functions that can be used to control the program flow.
Function | Description |
CASE |
Case operator
|
IF() |
If/else construct
|
IFNULL() |
Null if/else construct
|
NULLIF() |
Return NULL if expr1 = expr2
|