SQL: Querying, Modelling and Running a Database
Exit

Lesson 9 of 14 · Querying and modelling

Window functions (ROW_NUMBER, RANK, SUM OVER) and dates

1 h Python 3.12 (Debian, git, pip)

Objective

Produce the figures a manager really asks for: the ranking of products within each category, the number of each order of a customer, the revenue accumulated day after day, the revenue of each month, the delay before the first purchase. For this: window functions and calculations on dates.

This lesson is part of the full course

Unlock SQL: Querying, Modelling and Running a Database to read every lesson, do the exercises, access the simulations and earn your certificate.

Already enrolled? Log in.