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)
In this video we will solve a complex SQL interview question to derive ranking table of a football tournament. Learn Data Analytics and Data Engineering : https://www.namastesql.com/ scripts: CREATE TABLE matches ( match_id INT PRIMARY KEY, winning_team_id INT, losing_team_id INT, goals_won INT ); delete from matches; INSERT INTO matches (match_id, winning_team_id, losing_team_id, goals_won) VALUES (1, 1001, 1007, 1), (2, 1007, 1001, 2), (3, 1006, 1003, 3), (4, 1001, 1003, 1), (5, 1007, 1001, 1), (6, 1006, 1003, 2), (7, 1006, 1001, 3), (8, 1007, 1003, 5), (9, 1001, 1003, 1), (10, 1007, 1006, 2), (11, 1006, 1003, 3), (12, 1001, 1003, 4), (13, 1001, 1006, 2), (14, 1007, 1001, 4), (15, 1006, 1007, 3), (16, 1001, 1003, 3), (17, 1001, 1007, 3), (18, 1006, 1007, 2), (19, 1003, 1001, 1); insert into matches values (20, 1001, 1007, 3), (21, 1001, 1003, 3); ; 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