SQL Proj
SQL Proj
SQL Interview
Questions
10 questions & answers
with practice datasets
Dawn Choo
Applying for Data Analyst jobs?
Applying for Data Scientist jobs?
Applying for Data Engineering jobs?
wers
h an s
e r w it
ogeth ts
T at ase
& d
1. Netflix movies & shows
Dataset
https://www.kaggle.com/datasets/rahulvyasm/
netflix-movies-and-tv-shows/data
Intermediate
1. Find the top 3 directors with the most content on
Netflix. Display the director's name, the count of
their titles, and the year of their most recent content.
2. For each year from 2015 to 2021, calculate the
percentage of movies vs TV shows added to Netflix
Advanced
Beginner Question 2:
What percentage of content doesn’t have a country
associated with it?
1. Netflix movies & shows
Answers
Intermediate Question 1:
Find the top 3 directors with the most content on
Netflix. Display the director's name, the count of their
titles, and the year of their most recent content.
1. Netflix movies & shows
Answers
Intermediate Question 2:
For each year from 2015 to 2021, calculate the
percentage of movies vs TV shows added to Netflix.
1. Netflix movies & shows
Answers
Advanced Question 1:
Calculate the average month-over-month growth rate
of content added to Netflix for each genre. What are
the top 5 fastest growing genres?
Ready for the next
set of questions?
do it
Let’s
2. Employee Information
Dataset
https://www.kaggle.com/datasets/tawfikelmetwally/
employee-dataset
Intermediate
1. Find the top 3 cities with the highest percentage of
employees who have been benched at least once.
2. For each Education level, calculate the average
experience in the current domain for employees who
joined before 2015 and those who joined in 2015 or
later.
Advanced
Beginner Question 1:
How many employees are in each Payment Tier?
Beginner Question 2:
Calculate the average age of employees for each
gender.
2. Employee Information
Answers
Intermediate Question 1:
Find the top 3 cities with the highest percentage of
employees who have been benched at least once.
Intermediate Question 2:
For each Education level, calculate the average
experience in the current domain for employees who
joined before 2015 vs. in 2015 or later.
2. Employee Information
Answers
Advanced Question 1:
Calculate an Employee's likelihood to leave based on
their Payment Tier, Experience in Current Domain, and
the average leave rate of their city.
Found this
useful?
Save it
Follow me
Dawn Choo
Share with a friend