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: Walmart Labs SQL Interview Question for Senior Data Analyst Position | Data Analytics

In this video we will discuss a very interesting problem where from a phone log history we need to find if the caller had done first and last call for the day to the same person. I will explain the solution step by step and encourage you to solve it yourself first before checking the solution. 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 script: create table phonelog( Callerid int, Recipientid int, Datecalled datetime ); insert into phonelog(Callerid, Recipientid, Datecalled) values(1, 2, '2019-01-01 09:00:00.000'), (1, 3, '2019-01-01 17:00:00.000'), (1, 4, '2019-01-01 23:00:00.000'), (2, 5, '2019-07-05 09:00:00.000'), (2, 3, '2019-07-05 17:00:00.000'), (2, 3, '2019-07-05 17:20:00.000'), (2, 5, '2019-07-05 23:00:00.000'), (2, 3, '2019-08-01 09:00:00.000'), (2, 3, '2019-08-01 17:00:00.000'), (2, 5, '2019-08-01 19:30:00.000'), (2, 4, '2019-08-02 09:00:00.000'), (2, 5, '2019-08-02 10:00:00.000'), (2, 5, '2019-08-02 10:45:00.000'), (2, 4, '2019-08-02 11:00:00.000'); #sql #interview #walmart #dataanalyst


Tracks in this Playlist