Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Advanced  SQL – Window Functions

Advanced SQL – Window Functions

1h 57mAdvanced2020-05-28

Authors

Ami Levin

Ami Levin

Data Educator, Speaker, and Practitioner, SQL and RDM enthusiast

Course details

Window functions are one of the most radical, fundamental enhancements to modern SQL. They allow access to neighboring rows without using subqueries, thus enabling amazing opportunities for concise, elegant, high-performing solutions.

This course teaches the foundations and intricacies of window function processing and how to use it to implement practical solutions to everyday challenges. You can learn how to use different constructs and advanced solution techniques and how to utilize the declarative and composable nature of SQL and its processing order. By the end of the course you’ll better understand the fundamental pros and cons of each method.

Topics include:
The OVER and FILTER clauses
Framing, exclusions, and shortcuts
Aggregate window functions
Rank window functions
Distribution window functions
Offset window functions

Skills covered

SQLDatabase AdministrationAdvancedDatabase DevelopmentDatabase ManagementData AnalysisProgramming LanguagesData ScienceBusiness Analysis and StrategyBusiness Software and ToolsOpen SourceSoftware Development

Concepts

0. Introduction

  • 01 - Course introduction
  • 02 - Course agenda

1. Tools, Files, and Query Processing Review

  • 03 - Tools and demo database
  • 04 - Using the demo and exercise files
  • 05 - Logical query processing review

2. Window Functions and the OVER Clause

  • 06 - How window functions fit in query processing
  • 07 - Overview and filter clause
  • 08 - PARTITION BY and ORDER BY

3. Framing, Exclusions, and Shortcuts

  • 09 - Framing rows and ranges
  • 10 - Practical framing examples
  • 11 - Defaults, shortcuts, exclusions, and null handling

4. Aggregate Window Functions

  • 12 - Aggregate grouped functions
  • 13 - Aggregate window functions
  • 14 - Combining grouped and window aggregate functions
  • 15 - Challenge - Aggregate window functions
  • 16 - Solution - Aggregate window functions

5. Rank and Distribution Window Functions

  • 17 - The concept of rank
  • 18 - ROW NUMBER and NTILE
  • 19 - RANK and DENSE RANK
  • 20 - Distribution window functions
  • 21 - Challenge - Rank window functions
  • 22 - Solution - Rank window functions

6. Offset Window Functions

  • 23 - Offset window functions
  • 24 - Row offset window functions
  • 25 - Frame offset window functions
  • 26 - Challenge - Offset window functions
  • 27 - Solution - Offset window functions

Conclusion

  • 28 - Review, conclusion, and next steps

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
Zarinpal
Zibal