sql基本语句顺序实行,可能需要分拆看到效果
2014-11-17 16:02
169 查看
create DATABASE test3 go use test3 create table dbo.studentlxx (stuID int primary key not null, stuName varchar(20) not null, stuSex varchar(20) null, stuClass varchar(20) null) go use test3 insert dbo.studentlxx values(20082057, 'lixingxing', 'male', 'class3') go use test3 insert dbo.studentlxx (stuID, stuName) values(20080258, 'lichangqing') go use test3 update dbo.studentlxx set stuSex = 'female' where stuID = 20082058 go use test3 select * from dbo.studentlxx go select stuID from dbo.studentlxx where stuName = 'lixingxing' go delete from dbo.studentlxx where stuName = 'lixingxing'
相关文章推荐
- 用SQL语句添加删除修改字段、一些表与字段的基本操作、数据库备份等,需要的朋友可以参考下。
- 一条sql语句搞定基于mysql的sql执行顺序的基本理解
- SQL语句执行顺序以及oracle基本查询优化
- 一条sql语句搞定基于mysql的sql执行顺序的基本理解
- 用SQL语句添加删除修改字段、一些表与字段的基本操作、数据库备份等,需要的朋友可以参考下。
- 使用SQL语句实现SPLIT效果的几种方法
- 动态sql语句基本语法
- SQL语句的基本语法
- 用sql语句根据操作顺序码生成表示号码范围的字段
- SQL语句的基本语法
- SQL语句的基本语法
- 动态sql语句基本语法
- [导入]实现SQL语句中,按照in 中的顺序排序的方法
- SQL基本语句小结
- SQL语句基本的用法
- 使用Job的SQL语句为多个Job调度执行顺序
- Orcale的SQL语句需要注意的一点
- 关于SQL SERVER 2000的一些基本知识(1)——简单的SQL语句
- 动态sql语句基本语法
- 动态SQL语句基本语法