1.from 

2.join on 或 lateral view explode(需炸裂的列)  tbl   as  炸裂后的列名

3.where

4.group by  (开始使用select中的别名,从group 开始往后都可用)

5.聚合函数 如Sum()  avg()  count(1)等

6.having

7.select  中若包含over()开窗函数,执行完非开窗函数后select等待执行完开窗函数,然后执行select完,开窗函数通过表数据进行分区和排序,跟select查询中的字段是平行关系,不依赖查询字段。

8.distinct

9.order by 

相关文章:

  • 2022-02-02
  • 2021-08-13
  • 2021-08-10
  • 2021-07-31
猜你喜欢
  • 2022-12-23
  • 2021-07-10
  • 2022-12-23
  • 2021-11-14
  • 2021-08-02
  • 2021-06-26
  • 2022-12-23
相关资源
相似解决方案