SQLite 数据库获取添加记录后自增长的ID

select last_insert_rowid();

原文地址:https://www.cnblogs.com/Jasxu/p/sqlite_auto.html