IF search_condition THEN statement(s)
[ELSEIF search_condition THEN statement(s)]
...
[ELSE statement(s)]
END IF
IF implémente une instruction de condition
simple. Si search_condition est vrai, la
commande SQL correspondante est exécutée. Si
search_condition est faux, la commande dans
la clause ELSE est exécutée.
This is a translation of the MySQL Reference Manual that can be
found at
dev.mysql.com.
The original Reference Manual is in English, and this translation
is not necessarily as up to date as the English version.