Project: Sales Dashboard for a Kampala Retail Chain
Model data, Build KPIs, Design dashboard, and more.
Course 7 of 11
RANK/ROW_NUMBER, Running totals, LAG/LEAD, and more.
Yiga AI
Intermediate · Course · 3 weeks at 5 hrs/week
What you’ll learn
Introduction to SQL
Joining Data in SQL
Intermediate SQL
Window Functions & Advanced SQL
Syllabus
4 modules · 21 lessons · 14 hours · 1 graded project
840 minutes of guided lesson time.
Sign in and enrol to unlock every lesson. The first lesson is open as a preview.
Overview and set-up
Overview and set-up — RANK/ROW_NUMBER in Window Functions & Advanced SQL.
Lesson
Core concepts
Core concepts — RANK/ROW_NUMBER in Window Functions & Advanced SQL.
Lesson · Locked
Worked example
Worked example — RANK/ROW_NUMBER in Window Functions & Advanced SQL.
Lesson · Locked
Hands-on practice
Hands-on practice — RANK/ROW_NUMBER in Window Functions & Advanced SQL.
Lesson · Locked
Module quiz: RANK/ROW_NUMBER
Check what you learned in RANK/ROW_NUMBER before moving on.
Quiz · Locked
Overview and set-up
Overview and set-up — Running totals in Window Functions & Advanced SQL.
Lesson · Locked
Core concepts
Core concepts — Running totals in Window Functions & Advanced SQL.
Lesson · Locked
Worked example
Worked example — Running totals in Window Functions & Advanced SQL.
Lesson · Locked
Hands-on practice
Hands-on practice — Running totals in Window Functions & Advanced SQL.
Lesson · Locked
Module quiz: Running totals
Check what you learned in Running totals before moving on.
Quiz · Locked
Overview and set-up
Overview and set-up — LAG/LEAD in Window Functions & Advanced SQL.
Lesson · Locked
Core concepts
Core concepts — LAG/LEAD in Window Functions & Advanced SQL.
Lesson · Locked
Worked example
Worked example — LAG/LEAD in Window Functions & Advanced SQL.
Lesson · Locked
Hands-on practice
Hands-on practice — LAG/LEAD in Window Functions & Advanced SQL.
Lesson · Locked
Module quiz: LAG/LEAD
Check what you learned in LAG/LEAD before moving on.
Quiz · Locked
Overview and set-up
Overview and set-up — Query optimisation in Window Functions & Advanced SQL.
Lesson · Locked
Core concepts
Core concepts — Query optimisation in Window Functions & Advanced SQL.
Lesson · Locked
Worked example
Worked example — Query optimisation in Window Functions & Advanced SQL.
Lesson · Locked
Hands-on practice
Hands-on practice — Query optimisation in Window Functions & Advanced SQL.
Lesson · Locked
Module quiz: Query optimisation
Check what you learned in Query optimisation before moving on.
Quiz · Locked
Graded project: Window Functions & Advanced SQL
Apply everything from Window Functions & Advanced SQL in one graded, portfolio-ready build.
Graded project · Locked
Applied learning project
Use Graded project: Window Functions & Advanced SQL to apply this course to a practical challenge. You’ll finish with a clear solution and the reasoning behind your choices.

Your instructor
AI for professions
Shows working professionals how to use AI responsibly inside everyday workflows.

“The examples felt relevant to public service and worked on the connection I actually have.”
Continue with
Following the order of Data Analyst with SQL & Power BI.
Next lesson
Overview and set-up
Window Functions & Advanced SQL
40 min · Resume
Course 8 in the track
DAX Fundamentals
Measures, CALCULATE, Time intelligence, and more.
Intermediate · Course · 4 weeks at 5 hrs/week
Course 9 in the track
Database Design Basics
Tables & keys, Normalisation, Schemas, and more.
Beginner · Course · 3 weeks at 5 hrs/week
Course 10 in the track
Introduction to SQL
Databases, SELECT, Filtering, and more.
Beginner · Course · 3 weeks at 5 hrs/week
Learner reviews
Sign in to share your experience with this course.
Sign in to reviewLoading reviews…
Keep going
Model data, Build KPIs, Design dashboard, and more.
Relationships, Star schema, Calculated columns, and more.
Interface, Importing data, Visuals, and more.
Layout, Colour, KPIs, and more.