创建增删改查

  //创建表

create table if not exists  person (uid integer primary key autoincrement , name text)

//插入

insert into person (name) values (?)

//删除指定名

delete from person where name = '闪闪'

//查找指定名

selete from person where name = '闪闪'

//更改 (把闪闪换成皮卡丘)

update person set name = '皮卡丘' where name = '闪闪'

你可能感兴趣的:(创建增删改查)