<=>
This page is part of MariaDB's Documentation.
The parent of this page is: SQL Operators for MariaDB Enterprise Server
Topics on this page:
Overview
Equal to without special treatment for NULL.
EXAMPLES
SELECT 42 <=> 42, 1 <=> 0, NULL <=> NULL;
+-----------+---------+---------------+
| 42 <=> 42 | 1 <=> 0 | NULL <=> NULL |
+-----------+---------+---------------+
| 1 | 0 | 1 |
+-----------+---------+---------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.