sqlite主键自增有关问题

sqlite主键自增问题
怎么设置ID字段为主键自增呢,网上的方法可以实现,但是如果删除最后一条或多条记录时,在新插入记录,它会按现在有的自增
如:ID: 1 2 3 三条记录,删除2 3 两条记录后,在插入一新记录 ID=2,怎么让这新记录的ID=4呢?
------解决方案--------------------
sqlite> create table x (id INTEGER PRIMARY KEY AUTOINCREMENT, c int);
sqlite> select * from x;
sqlite> insert into x (c) values (1);
sqlite> insert into x (c) values (2);
sqlite> insert into x (c) values (3);
sqlite> select * from x;
1
------解决方案--------------------
1
2
------解决方案--------------------
2
3
------解决方案--------------------
3
sqlite> delete from x where id=3;
sqlite> delete from x where id=2;
sqlite> select * from x;
1
------解决方案--------------------
1
sqlite> insert into x (c) values (4);
sqlite> select * from x;
1
------解决方案--------------------
1
4
------解决方案--------------------
4
sqlite>


并没有楼主所说的这种情况啊。楼主是如何设置自增的?