SQL Server数据库开发(3.SQL高级查询)

一,嵌套子查询         降低SQL语句的复杂度,提高SQL语句的可读性 --子查询作为条件  (where) --查询王五前面的同学 select * from StuInfo where stuid < (select stuid from StuInfo where stuName = '王五') go --子查询作为临时表  (from) --查询李四成绩大于80分(StuInfo作
相关文章
相关标签/搜索