You are viewing the archived documentation of TiDB, which no longer receives updates.

View latest LTS version docs

Control Flow Functions

NameDescription
CASECase operator
IF()If/else construct
IFNULL()Null if/else construct
NULLIF()Return NULL if expr1 = expr2