SQLite Forum
How to get the last row_id in a table without inserting anything
Login
☰
About
Threads
Post
Subscribe
SQLite
Chronological
Hierarchical
Unformatted
History
``` select max(id) from t -- or select seq + 1 from sqlite_sequence where name = 't' ``` ?