insert into tablename (column1,column2...) values (value1,value2...) select last_insert_rowid() select primaryKey from table name where rowid = last_insert_rowid()
insert into tablename (column1,column2...) values (value1,value2...) select last_insert_rowid() select primaryKey from table name where rowid = last_insert_rowid()