查看字段名稱
PRAGMA table_info('table1')
添加一字段
ALTER TABLE table1 ADD COLUMN sex12 integer(6);
修改表名
ALTER TABLE bagitem RENAME TO bagitemOld;
新建表
CREATE TABLE table(ID INTEGER PRIMARY KEY AUTOINCREMENT, Modify_Username text not null);
原數據插入
INSERT INTO table SELECT ID,Username FROM tableOld;
刪除舊表
DROP TABLE tableOld;