Complex SQL Questions for Interview Preparation

This playlist contains scenario based SQL problems. After solving these you should be able to ace any SQL interview. As and when I find a good problem, i will add it to this playlist.

Curated by: Ankit Bansal (96 videos)


Currently Playing: REAL SQL Interview Question by a FAANG Company | SQL Interview Questions and Answers

In this video we will Solve a SQL interview questions asked by Google. This question is of hard difficulty and people with more than 3-5 years of experience can expect this kind of question. Practice more high quality FAANG interview questions : https://www.namastesql.com/coding-problems script: CREATE TABLE transactions ( transaction_id INT PRIMARY KEY, customer_id INT, amount INT, tran_Date datetime ); delete from Transactions; INSERT INTO Transactions VALUES (1, 101, 500, '2025-01-01 10:00:01'); INSERT INTO Transactions VALUES (2, 201, 500, '2025-01-01 10:00:01'); INSERT INTO Transactions VALUES (3, 102, 300, '2025-01-02 00:50:01'); INSERT INTO Transactions VALUES (4, 202, 300, '2025-01-02 00:50:01'); INSERT INTO Transactions VALUES (5, 101, 700, '2025-01-03 06:00:01'); INSERT INTO Transactions VALUES (6, 202, 700, '2025-01-03 06:00:01'); INSERT INTO Transactions VALUES (7, 103, 200, '2025-01-04 03:00:01'); INSERT INTO Transactions VALUES (8, 203, 200, '2025-01-04 03:00:01'); INSERT INTO Transactions VALUES (9, 101, 400, '2025-01-05 00:10:01'); INSERT INTO Transactions VALUES (10, 201, 400, '2025-01-05 00:10:01'); INSERT INTO Transactions VALUES (11, 101, 500, '2025-01-07 10:10:01'); INSERT INTO Transactions VALUES (12, 201, 500, '2025-01-07 10:10:01'); INSERT INTO Transactions VALUES (13, 102, 200, '2025-01-03 10:50:01'); INSERT INTO Transactions VALUES (14, 202, 200, '2025-01-03 10:50:01'); INSERT INTO Transactions VALUES (15, 103, 500, '2025-01-01 11:00:01'); INSERT INTO Transactions VALUES (16, 101, 500, '2025-01-01 11:00:01'); INSERT INTO Transactions VALUES (17, 203, 200, '2025-11-01 11:00:01'); INSERT INTO Transactions VALUES (18, 201, 200, '2025-11-01 11:00:01'); 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


Tracks in this Playlist