$10

SQL Window Functions Explained (Early Access)

4 ratings
I want this!

SQL Window Functions Explained (Early Access)

$10
Anton Zhiyanov
4 ratings

About window functions

Window functions are probably the most confusing section of SQL. You might think, "So what? They just came up with some additional functions". Not really. "Window functions" is a separate language built into regular SQL. And it's more complicated than everything you know about SELECTs.

In short, window functions assist in making great analytical reports without Excel. Maybe you want to calculate monthly sales percentages over the year? Window functions. Split marketing channels into effective and ineffective ones? Window functions. Choose the top 10 clients for each segment? Same.

About the book

This book is a clear and visual introduction to window functions. Clear — because I can describe complex topics in a readable way. Visual — because I have prepared a hundred pictures and GIFs to help you understand SQL windows.

Window functions are a complex topic. So the book only teaches a little at a time. It gives just enough theory and a lot of practice — because it’s the only way to turn abstract knowledge into skills.

Book contents

Here is what you will learn:

  1. Why use window functions
  2. Windows and functions
    • Ranking
    • Offset
    • Aggregation
    • Rolling aggregates
    • Statistics
  3. Frames
    • ROWS and GROUPS
    • RANGE
    • EXCLUDE
    • FILTER
  4. Practice
    • Financial Analysis
    • Clustering
    • Data Cleansing

This is an early access release. 10 of the 13 chapters are ready, and I'll publish the rest by May 2023.

I want this!
Status
70% complete
Size
10.6 MB
Length
203 pages

Ratings

5.0
(4 ratings)
5 stars
100%
4 stars
0%
3 stars
0%
2 stars
0%
1 star
0%
Powered by