Recent Content Releases
Return title and release_year for movies released after 2016, ordered by release_year then title.
- Filtering
- Sorting
Challenge brief
Understand the request
Content Acquisition The acquisition team wants to see which titles were added to the catalog after 2016 to benchmark against competitor release timelines.
List titles released after 2016 with their release year.
Return
- title
- release_year
Constraints
- Return movies released after 2016
- Order by release year, then title
Data you will use
Review the relevant tables before deciding how to join, filter, or aggregate them.
movies
movie_idINTEGERtitleVARCHAR(100)release_yearINTEGER
Hints, when you need them
Open one clue at a time so you still do the reasoning.
Hint 1
Release year is a catalog attribute.
Hint 2
Apply the strict year boundary before projection.
Hint 3
Order first by year and then by title.
Verified SQL answer
Attempt the problem first, then compare structure and reasoning—not just syntax.
Reveal solution and explanation
SELECT title, release_year FROM movies WHERE release_year > 2016 ORDER BY release_year, titleWhy this works
WHERE release_year > 2016 removes 2016-and-earlier titles. Ordering by release_year then title gives a chronological list that's also stable within the same year.
Success check
Returns the complete deterministic result for recent content releases
Expected result
Use this output to verify values, aliases, ordering, and row count.
| title | release_year |
|---|---|
| Dark | 2017 |
| Money Heist | 2017 |
| Extraction | 2020 |
| Quiet Planet | 2021 |
Learn the concepts behind this answer
Strengthen your understanding with these targeted learning topics:
Continue practicing
Explore related company challenges
Google
Independent Google-style search, advertising, user-engagement, and video-product SQL practice.
Meta
Independent Meta-style social-product, engagement, content, community, messaging, and advertising SQL practice.
Airbnb
Independent Airbnb-style marketplace, booking, listing, payment, review, and guest analytics SQL practice.
Return to the complete interview preparation experience.