Variable Visions

Articles MySQL How-to-execute-a-random-SQL-query-


tutorials - MySQL and Web-Development.

How to execute a random SQL query

Published Sun. Sep. 16, 2012


SELECT * FROM `tablename` ORDER BY RAND()

rather than...ORDER BY updatedfieldname DESC


Tag(s): ordery by, rand()