Answers for "mysql select random id"

SQL
2

mysql select random id from table

-- randomly order, select first 5 rows
select * from `table_name` order by rand() limit 5
Posted by: Guest on November-07-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language