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