Netflix Movies Analytics Platform
โจ Master SQL One Problem at a Time โจ
Get all CSV files to practice this challenge:
๐ฅ Download Day 16 Data5 tables: movies, genres, actors, movie_cast, user_ratings (50+ rows each)
Build a streaming analytics platform with rankings, window functions, complex JOINs, and CTEs.
| movie_id | title | release_year | duration_mins | language | budget_millions | revenue_millions |
|---|---|---|---|---|---|---|
| M001 | inception | 2010 | 148 | english | 160 | 829.9 |
| m002 | THE DARK KNIGHT | 2008 | NULL | English | 185 | 1005.5 |
| M003 | parasite | 2019 | 132 | korean | NULL | 258.8 |
| M004 | avengers endgame | 2019 | 181 | ENGLISH | 356 | 2798.5 |
| m005 | Titanic | 1997 | 195 | English | 200 | NULL |
...45 more rows in the download!
| genre_id | movie_id | genre_name |
|---|---|---|
| G001 | M001 | Sci-Fi |
| G002 | m001 | action |
| G003 | M002 | ACTION |
| G004 | M003 | thriller |
| actor_id | actor_name | birth_year | nationality |
|---|---|---|---|
| A001 | leonardo dicaprio | 1974 | american |
| a002 | CHRISTIAN BALE | NULL | British |
| A003 | Song Kang-ho | 1967 | south korean |
| cast_id | movie_id | actor_id | role_type | character_name |
|---|---|---|---|---|
| C001 | M001 | A001 | LEAD | Dom Cobb |
| C002 | m002 | a002 | lead | Batman |
| rating_id | movie_id | user_id | rating | rating_date |
|---|---|---|---|---|
| R001 | M001 | U101 | 8.5 | 2024-01-15 |
| R002 | m001 | U102 | 9.0 | 15/01/2024 |
Build Netflix analytics with rankings, percentiles, ROI calculations, and complex multi-table JOINs.
๐ก Key SQL Concepts: RANK, ROW_NUMBER, PERCENT_RANK, PARTITION BY, CTEs, Complex JOINs, GROUP_CONCAT!
Download the full challenge PDF with complete solution, explanations, and step-by-step hints!
Follow for complete solutions and all 100 challenges:
Complete solutions posted on LinkedIn โข All data on GitHub
Master window functions
Build streaming analytics
Rank and analyze with SQL
Day 17 coming tomorrow!
Follow the 100 Days SQL Challenge
Master SQL one problem at a time!
Rahul Kanche โ exploring data, decoding clarity!