Course
Simulator
More
Premium
Log in
SQL Function Reference
Functions
RAND
RAND
Returns a random floating point value between 0.0 and 1.0
MySQL
RAND
(
[
num
]
)
You can pass an optional argument, and for the same value, the function will return the same value.
Examples
MySQL
SELECT
RAND
(
)
;