Mega Code Archive

 
Categories / MySQL Tutorial / Math Numeric Functions
 

RAND(20)

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>