Master 20 Medium LeetCode SQL Questions in 2 Hours for Your Next Interview π
Boost your SQL skills with this focused practice session! Solve 20 medium-level LeetCode SQL problems in just 2 hours and prepare confidently for your interviews. Timestamps included for easy navigation.

Ankit Bansal
26.9K views β’ Jul 19, 2025

About this video
In this video we will solve 20 leetcode SQL questions of medium difficulty.
Timestamps:
0:00 Introduction & How to Filter LeetCode Problems
2:10 Second Highest Salary
10:28 N-th Highest Salary
11:48 Rank Scores
13:58 Consecutive Numbers
19:32 Department Highest Salary
25:20 Game Play Analysis - 4
33:30 Managers with at least 5 Direct Reports
37:37 Investments in 2016
46:23 Friend Requests 2: Who has the Most Friends
50:56 Tree Node
56:00 Exchange Seats
1:01:30 Customers Who Bought All Products
1:04:55 Product Sales Analysis - 3
1:13:13 Market Analysis - 1
1:21:55 Product Price at a Given Date
1:31:47 Immediate Food Delivery - 2
1:37:32 Monthly Transaction - 1
1:42:32 Last Person to Fit in Bus
1:48:02 Restaurant Growth
Zero to hero(Advance) SQL Aggregation:
https://youtu.be/5Ighj_2PGV0
Most Asked Join Based Interview Question:
https://youtu.be/xR87ctOgpAE
Solving 4 Trick SQL problems:
https://youtu.be/Ck1gQrlS5pQ
Data Analyst Spotify Case Study:
https://youtu.be/-YdAIMjHZrM
Top 10 SQL interview Questions:
https://youtu.be/Iv9qBz-cyVA
Interview Question based on FULL OUTER JOIN:
https://youtu.be/KQfWd6V3IB8
Playlist to master SQL :
https://youtube.com/playlist?list=PLBTZqjSKn0IeKBQDjLmzisazhqQy4iGkb
Rank, Dense_Rank and Row_Number:
https://youtu.be/xMWEVFC4FOk
#sql #dataengineer
Timestamps:
0:00 Introduction & How to Filter LeetCode Problems
2:10 Second Highest Salary
10:28 N-th Highest Salary
11:48 Rank Scores
13:58 Consecutive Numbers
19:32 Department Highest Salary
25:20 Game Play Analysis - 4
33:30 Managers with at least 5 Direct Reports
37:37 Investments in 2016
46:23 Friend Requests 2: Who has the Most Friends
50:56 Tree Node
56:00 Exchange Seats
1:01:30 Customers Who Bought All Products
1:04:55 Product Sales Analysis - 3
1:13:13 Market Analysis - 1
1:21:55 Product Price at a Given Date
1:31:47 Immediate Food Delivery - 2
1:37:32 Monthly Transaction - 1
1:42:32 Last Person to Fit in Bus
1:48:02 Restaurant Growth
Zero to hero(Advance) SQL Aggregation:
https://youtu.be/5Ighj_2PGV0
Most Asked Join Based Interview Question:
https://youtu.be/xR87ctOgpAE
Solving 4 Trick SQL problems:
https://youtu.be/Ck1gQrlS5pQ
Data Analyst Spotify Case Study:
https://youtu.be/-YdAIMjHZrM
Top 10 SQL interview Questions:
https://youtu.be/Iv9qBz-cyVA
Interview Question based on FULL OUTER JOIN:
https://youtu.be/KQfWd6V3IB8
Playlist to master SQL :
https://youtube.com/playlist?list=PLBTZqjSKn0IeKBQDjLmzisazhqQy4iGkb
Rank, Dense_Rank and Row_Number:
https://youtu.be/xMWEVFC4FOk
#sql #dataengineer
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
26.9K
Likes
984
Duration
01:58:04
Published
Jul 19, 2025
User Reviews
4.6
(5) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.
Trending Now