filmov
tv
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:
Most Asked Join Based Interview Question:
Solving 4 Trick SQL problems:
Data Analyst Spotify Case Study:
Top 10 SQL interview Questions:
Interview Question based on FULL OUTER JOIN:
Playlist to master SQL :
Rank, Dense_Rank and Row_Number:
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
Zero to hero(Advance) SQL Aggregation:
Most Asked Join Based Interview Question:
Solving 4 Trick SQL problems:
Data Analyst Spotify Case Study:
Top 10 SQL interview Questions:
Interview Question based on FULL OUTER JOIN:
Playlist to master SQL :
Rank, Dense_Rank and Row_Number:
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
Комментарии