Instruction
Great. It's time for some practice, let's give it a try.
Exercise
Find the name, genre and size of the smallest game in our studio.
Remember the steps:
- Create the ranking query so that the smallest game gets rank 1.
- Use
WITHto select rows with rank 1.
Stuck? Here's a hint!
Here is the example from the previous exercise to help you build the query:
WITH ranking AS (
SELECT
name,
RANK() OVER(ORDER BY editor_rating DESC) AS rank
FROM game
)
SELECT
name
FROM ranking
WHERE rank = 2;



