2_01_MSSQL课程_查询02

1.where 条件过滤

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

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

  区间过滤:between and 和 in

  模糊查询

    like 查询语法

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

    特殊字符转义。 ‘’ 和[

  空值处理:

    列=null的结果

    is null 和 is not null

扫描二维码关注公众号,回复: 7818132 查看本文章

(排序Order by  默认是asc)

数据进行分组:Group by

having 过滤

猜你喜欢

转载自www.cnblogs.com/NBOWeb/p/11833965.html