120 SQL
2015-12-04 16:42
232 查看
1.sqlite是关系型数据库,不是对象型(将对象直接插入数据库)
2.DDL语句:包含create table、 drop table等操作:
3.DML语句:包含inset 、update、delete等操作:
3>DQL语句:selete操作
2.DDL语句:包含create table、 drop table等操作:
//创建表 a.create table t_student(name text,age integer); b.create table if not exists t_student(name text,age integer); //删除表 c.drop table t_student d.drop table if exists t_student;
3.DML语句:包含inset 、update、delete等操作:
a.insert into t_student (name,age) values ('jack',20);//text字段应该有单引号 b.update t_student set name = 'rose' , age = 22; c.delete from t_student
3>DQL语句:selete操作
相关文章推荐
- redis.conf 配置详解
- SQL对表进行权限设置
- SQL中EXISTS的用法
- Ubuntu 安装 Redis
- Redis常用命令
- java对redis的基本操作
- mysql做报表必知
- mysql limit后的注入
- 通达OA服务器意外断电后数据库容易损坏的解决方案
- Oracle中的部分查询
- Mysql几种索引类型的区别及适用情况(转载)
- MySQL内存使用-线程独享
- 从控制台向正式数据库取数据中文乱码
- 8天学通MongoDB——第八天 驱动实践
- 8天学通MongoDB——第七天 运维技术
- 8天学通MongoDB——第六天 分片技术
- 8天学通MongoDB——第五天 主从复制
- 8天学通MongoDB——第四天 索引操作
- 8天学通MongoDB——第三天 细说高级操作
- 8天学通MongoDB——第二天 细说增删查改