SELECT * FROM table_name ORDER BY RAND(); Found at http://www.mysql.com/doc/M/a/Mathematical_functions.html use: SELECT * FROM table_name ORDER BY RAND() limit 1; If you only want one result not all of them.
- 7 Users Found This Useful
SELECT * FROM table_name ORDER BY RAND(); Found at http://www.mysql.com/doc/M/a/Mathematical_functions.html use: SELECT * FROM table_name ORDER BY RAND() limit 1; If you only want one result not all of them.