You are viewing the archived documentation of TiDB, which no longer receives updates.
View latest LTS version docs ↗
Sign In
Start for Free
TiDB Self-Managed
Sign In
Start for Free
English
Control Flow Functions
Download PDF
Name
Description
CASE
Case operator
IF()
If/else construct
IFNULL()
Null if/else construct
NULLIF()
Return NULL if expr1 = expr2
ON THIS PAGE