RAND(20) : RAND « Math Numeric Functions « MySQL Tutorial
- MySQL Tutorial
- Math Numeric Functions
- RAND
SELECT RAND(20);
+------------------+
| RAND(20) |
+------------------+
| 0.15888261251047 |
+------------------+
1 row in set (0.00 sec)
mysql>
mysql> SELECT RAND(20);
+------------------+
| RAND(20) |
+------------------+
| 0.15888261251047 |
+------------------+
1 row in set (0.00 sec)
mysql>