Have a look at Selecting a Random Row from an SQLite Table
SELECT * FROM table ORDER BY RANDOM() LIMIT 1;
More Related Contents:
- near “varchar”: syntax error [closed]
- How do I make an UPDATE while joining tables on SQLite?
- How do I rename a column in a SQLite database table?
- How do I check in SQLite whether a table exists?
- How to set Sqlite3 to be case insensitive when string comparing?
- Escape single quote character for use in an SQLite query
- Difference between 2 dates in SQLite
- Update with Join in SQLite
- Can I read and write to a SQLite database concurrently from multiple connections?
- How do I store and retrieve a blob from sqlite?
- Store boolean value in SQLite
- Can SQLite support multiple users?
- SQLite add Primary Key
- How delete table inner join with other table in Sqlite?
- Export from sqlite to csv using shell script
- SQLite: How do I save the result of a query as a CSV file?
- Create table in SQLite only if it doesn’t exist already
- How do DATETIME values work in SQLite?
- Add ON DELETE CASCADE behavior to an sqlite3 table after it has been created
- sqlite get ROWID
- SQL – Inserting a row and returning primary key
- How to have an automatic timestamp in SQLite?
- svn cleanup: sqlite: database disk image is malformed
- Truncate a SQLite table if it exists?
- SELECT INTO statement in sqlite
- How to display blob value using x’abc’ binary string literal syntax?
- Unable to load DLL sqlite3 in Universal Windows App running on Mobile
- DbFunctions.TruncateTime LINQ equivalent in EF CORE
- How to get the number of rows of the selected result from sqlite3?
- How to get the last index of a substring in SQLite?