SQLite order random
snippet in sql

SQLite order random

user1258

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