Sqlite order random

This article is tagged with: Sqlite order random and mysql

SQLite order random

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

This article is tagged with: Sqlite order random and mysql