Link You Today
Bookmark your Free, Libre software & tech link

database - How to retrieve the last autoincremented ID from a SQLite table?


I have a table Messages with columns ID (primary key, autoincrement) and Content (text). I have a table Users with columns username (primary key, text) and Hash. A message is sent by one Sender (us…