SQL Coding Questions & Answers

Practice 216 online coding questions and become a data expert.

ALL QUESTIONS

Affirm SQL Interview Questions Afterpay SQL Interview Questions Airbnb SQL Interview Questions Amazon SQL Interview Questions Doordash SQL Interview Questions Dropbox SQL Interview Questions Ebay SQL Interview Questions Google SQL Interview Questions Linkedin SQL Interview Questions Lyft SQL Interview Questions Netflix SQL Interview Questions Robinhood SQL Interview Questions Roblox SQL Interview Questions Snap SQL Interview Questions Spotify SQL Interview Questions Tiktok SQL Interview Questions Twitter SQL Interview Questions Uber SQL Interview Questions Visa SQL Interview Questions Walmart SQL Interview Questions


Level: hard


ID Title Level FTPR Lecture
14 Good days and bad days hard
4%
2.3
15 Fast movie watchers vs slow watchers hard
5%
2.3
32 Unpopular movies hard
16%
2.3
41 Productive actors vs less-productive actors hard
6%
3.2
45 Movie inventory optimization hard
7%
3.2
53 Movie groups by rental income hard
11%
3.2
58 Percentage of revenue per movie hard
8%
4.1
60 Movie rentals and average rentals in the same category hard
9%
4.1
61 Customer spend vs average spend in the same store hard
12%
4.1
63 Top 5 customers by store hard
8%
4.2
64 Top 2 films by category hard
16%
4.2
68 Spend difference between first and second rentals hard
12%
4.4
69 Number of happy customers hard
12%
4.4
73 Number of days to become a happy customer hard
11%
4.2
74 The most productive actors by category hard
11%
4.2
79 Spend difference between the last and the second last rentals hard
18%
4.4
80 DoD revenue growth for each store hard
19%
4.4
85 Top 4 queries based on click through rate on new year's day search engine hard
6%
2.2
95 Candidate products for subscription amazon hard
11%
2.2
102 Histogram by visit session duration mobile hard
12%
2.3
105 Number of days gap between last two actions mobile hard
9%
4.2
108 Free premium membership amazon hard
17%
4.1
115 Rolling average revenue amazon hard
26%
4.1
118 Daily bookings in the US airbnb hard
5%
3.2
119 Top 2 countries by bookings airbnb hard
6%
4.2
120 First ever booking airbnb hard
7%
4.2
121 Week over week change of first ever bookings airbnb hard
6%
4.4
122 Top country by wow growth airbnb hard
8%
4.2
126 Top 3 restaurants uber hard
9%
2.1
127 Average rating after 10th trip uber hard
11%
4.2
131 Churned accounts affirm hard
10%
2.3
140 Daily sales of restaurant 100011 doordash hard
9%
3.2
141 Cumulative sales of restaurant 100011 doordash hard
16%
4.1
145 Returning customers after first buy afterpay hard
15%
4.2
147 2 days streak customers social hard
11%
4.4
156 Cancellation rate by unbanned users lyft hard
14%
2.3
160 Sellers with no sales by day ebay hard
7%
2.3
165 Session stitching walmart hard
15%
4.2
172 Comments distribution social hard
13%
3.2
180 Members moved from Microsoft to Google directly. linkedin hard
16%
4.4
188 Top 1 popular question by department google hard
100%
4.2
190 Twitter campaign spend report twitter hard
50%
2.2
195 MoM user growth snap hard - 4.4
196 User segments report snap hard - 2.2
199 Students improvement snap hard - 4.4
212 Top issuing bank by category visa hard - 2.1
214 D30 retention rate gaming hard - 2.2
215 Monthly active users gaming hard - 2.2
216 Highest spender gaming hard - 2.2

Industry/company specific questions are sourced over the internet, however, we cannot guarantee 100% accuracy of the information provided. We strongly advise users to exercise their discretion when using the platform. By using SQLPad, you acknowledge and agree to our terms.