📣
TiDB Cloud Essential
is now in public preview.
Try it out →
TiDB Cloud
TiDB Self-Managed
Learning Center
Contact Us
EN
Ask AI
Sign In
Start for Free
Control Flow Functions
Contribute
Copy for LLM
View as Markdown
Download PDF
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
Was this page helpful?
Yes
No
ON THIS PAGE