Introduction
  • Introduction
  • Is this your first session?
  • Resources
Objective 9: Implement aggregate queries
  • Introduction
  • OVER()
  • OVER
  • PARTITION BY and ORDER BY
  • PARTITION BY and ORDER BY
  • RANGE
  • CURRENT ROW and UNBOUNDED
  • RANGE versus ROWS
  • Omitting RANGE/ROW?
  • Row and Range
Objective 9d: Ranking functions
  • ROW_NUMBER, RANK and DENSE_RANK
  • NTILE
  • Ranking functions
Objective 9a: New analytic functions
  • FIRST_VALUE and LAST_VALUE
  • LAG and LEAD
  • CUME_DIST and PERCENT_RANK
  • PERCENTILE_CONT and PERCENTILE_DISC
  • New analytic functions
Objective 9b: Grouping sets
  • Adding Totals
  • ROLLUP, GROUPING and GROUPING_ID
  • GROUPING SETS
  • Grouping sets
Objective 9c: Spatial aggregates
  • Introduction
  • POINT
  • POINT queries
  • Point
  • Line, POLYGON and Circles
  • Lines and Circles
  • Line queries
  • Line queries
  • Geography
  • Spatial Aggregates
  • Geography and Spatial Aggregates
  • Summary
End of Session 5
  • Bonus Lecture
  • Well done!