delete from TableName;  //清空数据
update sqlite_sequence SET seq = 0 where name ='TableName';//自增长ID为0

转自:https://www.cnblogs.com/huangtailang/p/3246336.html