2_05_MSSQL课程_查询_where,group by,having的区别以及内连接、案例练习

SQL查询顺序

    select distinct/top ..._ (5) 投影

    from_(1)找到表

   where_ (2)过滤掉我们不需要的数据

   group by_ (3)分组操作

   having_ (4)对分组后的数据进行过滤

   order by_(6)排序

 

上机案例学习

 

Join内连接    左连接、右连接待补充

posted @ 2019-11-12 09:06  MR_L先生  阅读(139)  评论(0编辑  收藏  举报