TRUE FALSE
Spiegazione
Le costanti TRUE e FALSE equivalgono a 1 e 0, rispettivamente. I nomi delle costanti possono essere scritti sia in maiuscolo sia in minuscolo.
Esempi
MariaDB [(none)]> SELECT TRUE, true, FALSE, false; +------+------+-------+-------+ | TRUE | TRUE | FALSE | FALSE | +------+------+-------+-------+ | 1 | 1 | 0 | 0 | +------+------+-------+-------+
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.