Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

SQLite order random

SELECT FIELD_NAME FROM TABLE_NAME ORDER BY random() LIMIT 1
/* NOTE if this doesnt work try RAND() */
 
PREVIOUS NEXT
Tagged: #SQLite #order #random
ADD COMMENT
Topic
Name
2+8 =