| title | Control Flow Functions | ||
|---|---|---|---|
| summary | Learn about the Control Flow functions. | ||
| aliases |
|
TiDB supports all of the control flow functions available in MySQL 5.7.
| Name | Description |
|---|---|
CASE |
Case operator |
IF() |
If/else construct |
IFNULL() |
Null if/else construct |
NULLIF() |
Return NULL if expr1 = expr2 |