1.数据库id自增 create table mytable ( ID integer PRIMARY KEY AUTOINCREMENT NOT NULL , name TEXT NOT NULL);