sqlite studio reset auto increment code example
Example 1: sqlite reset autoincrement
delete from your_table;
delete from sqlite_sequence where name='your_table';
Example 2: how to reset autoincrement in sqlite java
db.delete("SQLITE_SEQUENCE","NAME = ?",new String[]{TABLE_NAME});
/*
when deleting or adding rows with AUTOINCREMENT used to reset counter
to biggest primary key in table Author Akhilesh Dhar Dubey
*/