Playlist · Ankit Bansal

Complex SQL Questions for Interview Preparation

by Ankit Bansal · 96 videos

Listed in Best free SQL courses on YouTube, ranked by total hours

Total watch time

1d 3h 44m

at 1× speed · exactly 1 day, 3 hours, 43 minutes, 34 seconds at 1×

At an hour a day you'd finish in 28 days

The shape of the course

96 videos in blocks of 10 · each column is a block's total, to scale

1h 44m
1h 58m
1h 24m
1h 32m
1h 58m
3h 31m
3h 31m
2h 24m
5h 14m
4h 28m

WatchedTo watch

Compare Open on YouTube JSON

Next time, skip the copying: change youtube.com to playlistduration.com in any playlist, video or channel address and it opens here. Or see the total on YouTube itself, with our extension for Chrome, Firefox or Edge.

Your plan

Plan to finish

About 28 days at an hour a day

Pick a daily pace and the days you'll watch. Ticked videos are skipped.

Days

At one hour a day, every day, this playlist takes about 28 days. Turn on JavaScript to plan around your week.

Videos (96)

1d 3h 44m in total · tick what you've watched

Tick videos you've watched — progress is saved in this browser. Titles open on YouTube in a new tab.

Videos to
Watched
1 Complex SQL Query 1 | Derive Points table for ICC tournament 9:03 2022-01-09
2 Complex SQL 2 | find new and repeat customers | SQL Interview Questions 16:40 2022-01-15
3 Complex SQL 3 | Scenario based Interviews Question for Product companies 13:47 2022-01-22
4 SQL Question Asked in a FAANG Interview | Complex SQL 4 6:17 2022-01-29
5 Pareto Principle (80/20 Rule) Implementation in SQL | SQL Interview Question 10:34 2022-02-06
6 Complex SQL 6 | Scenario based on join, group by and having clauses | SQL Interview Question 7:33 2022-02-09
7 Leetcode Hard Problem | Complex SQL 7 | Trips and Users 9:56 2022-02-15
8 Leetcode Hard problem 2| Tournament Winners | Complex SQL 8 9:11 2022-02-19
9 Leetcode Hard Problem 3 | Market Analysis 2 | Complex SQL 9 13:57 2022-02-21
10 An Awesome Tricky SQL Logic | Complex SQL 10 7:05 2022-02-22
11 Leetcode Hard Problem 4 | User Purchase Platform | Complex SQL 11 12:51 2022-02-26
12 Recursive CTE | Leetcode Hard SQL Problem 5 | Complex SQL 12 12:34 2022-03-01
13 Data Science SQL Interview Question | Recommendation System | Complex SQL 13 12:15 2022-03-03
14 Amazon Prime Subscription Rate SQL Logic | Amazon Music | Complex SQL 14 11:09 2022-03-07
15 Customer Retention and Churn Analysis (Part 1/2) | SQL Interview Question Product Based Companies 11:41 2022-03-13
16 Customer Retention and Churn Analysis (Part 2/2) | SQL Interview Question Product Based Companies 5:36 2022-03-15
17 Leetcode Hard SQL Problem - 6 | Second Most Recent Activity | SQL Window Analytical Functions 4:44 2022-03-16
18 Scenario Based SQL Question | Solving Using SCD Type 2 Concept | SQL Interview Question 7:57 2022-03-20
19 Data Analyst Spotify Case Study | SQL Interview Questions 22:52 2022-03-27
20 How to Write Advanced SQL Queries | Consecutive Empty Seats | SQL Interview Questions 15:59 2022-03-30
21 SQL Interview Question and Answers Using 3 Methods | Find Missing Quarter 10:33 2022-04-03
22 Deadly Combination of Group By and Having Clause in SQL | SQL Interview Questions and Answers 4:27 2022-04-12
23 Beauty of SQL RANK Function | SQL Interview Question and Answers | Covid Cases 7:12 2022-04-15
24 Google SQL Interview Question for Data Analyst Position 5:50 2022-04-17
25 Meesho HackerRank SQL Interview Question and Answer | Customer Budget 7:07 2022-04-23
26 Horizontal Sorting in SQL | Amazon Interview Question for BIE position 6:01 2022-04-30
27 Solving 4 Tricky SQL Problems 17:28 2022-05-07
28 Brilliant SQL Interview Question | Solve it without using CTE, Sub Query, Window functions 8:23 2022-05-19
29 Solving A Hard SQL Problem | SQL ON OFF Problem | Magic of SQL 8:41 2022-05-24
30 LeetCode Hard SQL problem | Students Reports By Geography | Pivot Ka Baap 7:49 2022-05-26
31 LeetCode Hard SQL Problem | Employee Median Salary Company Wise 7:57 2022-06-01
32 I Asked This SQL Interview Question in an Amazon Interview | Most Asked SQL Problem with a Twist 7:53 2022-06-08
33 Leetcode Hard SQL Problem | Human Traffic of Stadium 6:53 2022-06-21
34 Very Interesting SQL Interview Question Asked by Udaan | Power of Self Join | Data Analytics 8:24 2022-06-23
35 PharmEasy SQL Interview Question | Consecutive Seats in a Movie Theatre | Data Analytics 10:29 2022-06-29
36 Bosch Scenario Based SQL Interview Question | Solving Using 3 Methods | Data Analytics 13:08 2022-07-03
37 Cricket Analytics with SQL | Find Sachin's Milestone Matches | Advance SQL 10:51 2022-07-09
38 This SQL Problem I Could Not Answer in Deloitte Interview | Last Not Null Value | Data Analytics 7:48 2022-07-13
39 Leetcode-1412 Hard SQL Problem | Find the Quiet Students in All Exams | Data Analytics 8:45 2022-07-28
40 Walmart Labs SQL Interview Question for Senior Data Analyst Position | Data Analytics 10:21 2022-08-02
41 Microsoft SQL Interview Question for Data Engineer Position | Data Analytics 8:11 2022-08-09
42 Double Self Join in SQL | Amazon Interview Question | Excel Explanation Included | Data Analytics 8:44 2022-09-17
43 A Good SQL Problem Based on Bank Transactions Asked in Visa Interview 10:06 2022-10-06
44 Airbnb Tricky SQL Interview Problem #DataLemur 11:56 2022-10-15
45 SQL Pre-Screening Test For Data Engineer Position | Delta Records | Data Analytics 14:00 2022-10-26
46 Uber Very Interesting SQL Interview Problem | Solving Using 2 Methods | Data Analytics 12:35 2022-12-04
47 Tricky SQL Interview Problem Asked in Amazon 9:31 2023-01-12
48 Marketing Campaign Success SQL Advanced Problem | Step by Step Solution using CTEs 13:56 2023-02-02
49 Complex SQL Problem Asked in a Fintech Startup | SQL For Data Analytics 16:07 2023-02-21
50 Tricky SQL Challenge | SQL For Data Analytics 12:41 2023-03-03
51 Data Analyst Case Study by A Major Travel Company | SQL for Data Analytics 23:24 2023-03-30
52 Amazon Data Engineer SQL Interview Problem | Leetcode Hard SQL 2494 | Recursive CTE 16:11 2023-04-08
53 PayPal SQL Interview Problem (Level Hard) | Advanced SQL Problem 14:15 2023-06-26
54 PayPal Data Engineer SQL Interview Question (and a secret time saving trick) 32:54 2023-08-05
55 Uplers SQL Interview Problem (Senior Data Analyst) | Includes 4 Test Cases 18:03 2023-08-15
56 Solving a Advanced SQL Interview Problem | Advanced SQL Tutorial 22:35 2023-10-17
57 Solving a Namaste SQL Assignment Question | SQL For Analytics 10:37 2024-01-15
58 Solving a Leetcode DSA Problem with SQL | Advanced SQL for Analytics | Aam vs Mentos Life 22:03 2024-02-08
59 Freshworks Data Analyst SQL Interview Problem | SQL For Data Analytics 24:15 2024-02-15
60 SQL For Business Intelligence | YoY, QoQ, MTD, YTD, QTD etc. in a Single SQL 27:05 2024-03-12
61 Famous SQL Interview Question | First Name , Middle Name and Last Name of a Customer 14:07 2024-03-19
62 Tricky SQL Interview Question by a Product Based Company | Ludo King SQL Analytics 15:40 2024-03-21
63 Top 5 Advanced SQL Interview Questions and Answers | Frequently Asked SQL interview questions 36:59 2024-03-27
64 Swiggy Data Analyst SQL Interview Question and Answer 17:05 2024-05-04
65 3 Solutions to a ITC Infotech SQL Interview Question 20:01 2024-05-12
66 Meesho SQL Interview Question for Data Analysts | SQL Non-Equi Join | Aam vs Mentos Zindagi 19:40 2024-05-15
67 15 Days of Learning SQL | Advanced SQL for Data Analytics 16:59 2024-05-25
68 Fractal Analytics SQL Interview Question (Game of Thrones Database) | SQL for Data Engineer 13:23 2024-06-13
69 SQL Portfolio Project for Data Analysis | SQL Interview Questions and Answers 41:30 2024-06-29
70 SQL Interview Question Asked in Tredence Analytics 15:27 2024-07-06
71 American Express SQL Interview Question and Solution | Page Recommendation 18:38 2024-07-13
72 Acies Global SQL Interview Question | Employee Swipe in and Swipe out 10:56 2024-07-24
73 Solving an Amazon SQL Interview Question on Notepad 11:42 2024-08-07
74 Zepto Product Analyst SQL Interview Question 13:59 2024-09-04
75 Probo Very Interesting SQL Interview Question | Difficulty Level Hard | SQL For Data Analytics 11:05 2024-09-17
76 Regex Based SQL Interview Question | Postgres Regular Expressions | SQL for Analytics 12:35 2024-09-20
77 Top Data Analyst SQL Interview Question by A Startup 14:01 2024-10-09
78 IPL Data Analysis SQL Interview Questions | Analytics Engineering 17:02 2024-10-29
79 EPAM SQL Coding Test Interview Questions | Aam vs Mentos Life 19:06 2024-11-16
80 REAL SQL Interview Question by a FAANG Company | SQL Interview Questions and Answers 15:25 2025-01-28
81 SQL Project for Data Analytics (Level - Advanced) 41:43 2025-03-31
82 Can You Solve This Hard SQL Question😢😢 | Parent Child Hierarchy | Recursive CTE 18:04 2025-04-12
83 How to Write Long and Complex SQL Queries For Real Reports (Step-by-Step) 56:25 2025-05-17
84 Amazon Interview - 99% Fail This SQL Hierarchy Problem - Can You Solve It? 24:34 2025-06-07
85 Microsoft SQL Interview Question | Possible Flight Routes 20:21 2025-06-17
86 Solve 5 Tricky SQL Interview Questions in 1 Hour 1:12:29 2025-07-26
87 LinkedIn REAL SQL Interview Question | SQL For Data Analytics 14:34 2025-08-16
88 SQL Case Study : Naukri Resume Data Analysis | Data Analytics Project 25:51 2025-08-23
89 Blinkit Data Analyst SQL Assessment 21:39 2025-08-27
90 SQL Interview Question By A Startup | Normal vs Mentos Life 😎 17:56 2025-09-17
91 Football Tournament Rank Table | SQL For Data Analytics 12:56 2025-09-24
92 Last Minute SQL Interview Prep Kit: Complete Revision in 3 Hours 3:03:59 2026-02-23
93 5 SQL Questions To Crack Senior Data Roles 10:45 2026-05-04
94 Most Asked Data Engineer SQL Interview Question | Rank and Dense_Rank Without Window Functions 14:48 2026-05-29
95 Crazy SQL Interview Problem for Senior Data Engineers | Cyclic Money Transactions 26:33 2026-06-15
96 Target SQL Interview Question | Strong Mutual Friends 18:47 2026-06-16
For your README

Embed a badge

Show the watch time in a README or course description — it links back here and updates itself

Watch time: 1d 3h 44m · 96 videos

Markdown
[![Watch time: 1d 3h 44m · 96 videos](https://playlistduration.com/badge/playlist/PLBTZqjSKn0IeKBQDjLmzisazhqQy4iGkb.svg)](https://playlistduration.com/playlist/PLBTZqjSKn0IeKBQDjLmzisazhqQy4iGkb)
HTML
<a href="https://playlistduration.com/playlist/PLBTZqjSKn0IeKBQDjLmzisazhqQy4iGkb"><img src="https://playlistduration.com/badge/playlist/PLBTZqjSKn0IeKBQDjLmzisazhqQy4iGkb.svg" alt="Watch time: 1d 3h 44m · 96 videos" width="221" height="20"></a>

Add ?speed=1.5 to the image URL for the time at that speed, ?label=Course to change the left text, or ?style=flat-square for square corners.

Want the numbers themselves? GET https://playlistduration.com/api/v1/playlist/PLBTZqjSKn0IeKBQDjLmzisazhqQy4iGkb returns them as JSON — free, no key. API docs →

Data from the YouTube Data API as of 2026-10-23 (cached). Private or deleted videos are excluded from totals.