加入收藏 | 设为首页 | 会员中心 | 我要投稿 汽车网 (https://www.0577qiche.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > MsSql教程 > 正文

2_01_MSSQL课程_查询02

发布时间:2023-05-06 13:16:53 所属栏目:MsSql教程 来源:
导读:where 条件过滤

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

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

  区间过滤:between and 和 in

  模糊查询

    like
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 过滤

(编辑:汽车网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章