SELECT * FROM TABLE ORDER BY RAND() LIMIT 1
Selecting a Random Row from Table in MySQL
September 24, 2018
0
Here the simplest way of selecting random rows from the MySQL database with using "ORDER BY RAND()" clause in the query.
Tags
Hit me with a comment!