Sql order random

This article is tagged with: Sql order random and mysql

SQL order random

SELECT FIELD_NAME FROM TABLE_NAME ORDER BY RAND() LIMIT 1
/* NOTE if this doesnt work try random() */

This article is tagged with: Sql order random and mysql