首页 > 数据库技术 > 详细

2_01_MSSQL课程_查询02

时间:2019-11-11 13:00:10      阅读:81      评论:0      收藏:0      [点我收藏+]

1.where 条件过滤

  常见的表达式过滤:比如: select * from 表 where Id>10;

  多条件过滤: and or not (优先级:not > and > or)

  区间过滤:between and 和 in

  模糊查询

    like 查询语法

    针对字符产查询的通配符:  % _   []

    特殊字符转义。 ‘’ 和[

  空值处理:

    列=null的结果

    is null 和 is not null

(排序Order by  默认是asc)

数据进行分组:Group by

having 过滤

2_01_MSSQL课程_查询02

原文:https://www.cnblogs.com/NBOWeb/p/11833965.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!