Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
1. Introduction
Selecting n-th row


Welcome! In this part, we'll teach you how to use window functions in SQL Server for something very useful – creating rankings. Which product is the bestseller? Which service ranks third? Which Internet Service Provider has the worst worst feedback? You'll learn how to answer questions like these in this part.

Today, we're working on some imaginary mobile game development studio. Let's see what they've sent us.


Select all the information in the Game table.

Each game has an Id, a Name, a Genre, an EditorRating, a Size (in MB), and a specific Platform it runs on. There are also two date-related columns: ReleaseDate specifies when the game was released, and UpdateDate stores when the game was last updated.