You can see in this how the function works rand().
On this link you can see how it works ORDER BY:
- Read the lines that match the WHERE clause as before.
- ,
, , .
- ,
, a
.
, 19354 ( , ) - order by rand(), rand() ( ), dbms . , , , , dbms 1 .
, ORDER BY rand() LIMIT 5 , 9100 , 5 .