Sqlite

来源:互联网 发布:九星照命的解法和算法 编辑:程序博客网 时间:2024/05/21 09:07

创建数据表

Create Table tablename(col1 type1 [not null] [primary key],col2 type2 [not null],..)

在表中增加数据

insert into  table1 (field1,field2) values(value1,value2)

删除表中数据

delete from table1 where 范围

修改表中的数据

update table1 set field1 = value1 where 范围

查询表中所有的数据

select * from table1 where 范围

查询表中的数据

select 范围 from table1


0 0
原创粉丝点击