Jump to: navigation, search

Mysql LESS THAN

From w3cyberlearnings

Contents

MySQL Less Than Function

This function compares two number uses less than sign.

Syntax Less Than

a < b;

Return

Returns 1 when the function is true, or otherwise returns 0.

Example 1

mysql> SELECT 3 < 4, 5 < 9, 0 < -3;
+-------+-------+--------+
| 3 < 4 | 5 < 9 | 0 < -3 |
+-------+-------+--------+
|     1 |     1 |      0 | 
+-------+-------+--------+
1 row in set (0.00 sec)

Related Links



Navigation
Web
SQL
MISC
References