SQLite语句
搜索某属性:
select exp from player where level = 2;
创建表:
create table player (level integer primary key, name text);
删除表:
drop table player;
更新数据:
update player set exp = 300 where level = 2;
插入数据:
insert into player (level, exp) values ('2', '200');
insert into player values ('2', '200');
复制表:
create table newtable as select * from oldtable where rowid = 1
获得所有table名:
select name from sqlite_master where type='table' order by name;