No video

Tricky SQL Interview Problem Asked in Amazon

  Рет қаралды 14,863

Ankit Bansal

Ankit Bansal

Күн бұрын

In this video we are going to discuss a SQL interview problem asked in Amazon for a Business Intelligence Engineer Position.
Here is the script:
create table purchase_history
(userid int
,productid int
,purchasedate date
);
SET DATEFORMAT dmy;
insert into purchase_history values
(1,1,'23-01-2012')
,(1,2,'23-01-2012')
,(1,3,'25-01-2012')
,(2,1,'23-01-2012')
,(2,2,'23-01-2012')
,(2,2,'25-01-2012')
,(2,4,'25-01-2012')
,(3,4,'23-01-2012')
,(3,1,'23-01-2012')
,(4,1,'23-01-2012')
,(4,2,'25-01-2012')
;
Zero to hero(Advance) SQL Aggregation:
• All About SQL Aggregat...
Most Asked Join Based Interview Question:
• Most Asked SQL JOIN ba...
Solving 4 Trick SQL problems:
• Solving 4 Tricky SQL P...
Data Analyst Spotify Case Study:
• Data Analyst Spotify C...
Top 10 SQL interview Questions:
• Top 10 SQL interview Q...
Interview Question based on FULL OUTER JOIN:
• SQL Interview Question...
Playlist to master SQL :
• Complex SQL Questions ...
Rank, Dense_Rank and Row_Number:
• RANK, DENSE_RANK, ROW_...
#sql #dataengineer

Пікірлер: 113
7 Days Stranded In A Cave
17:59
MrBeast
Рет қаралды 95 МЛН
나랑 아빠가 아이스크림 먹을 때
00:15
진영민yeongmin
Рет қаралды 2,7 МЛН
Prank vs Prank #shorts
00:28
Mr DegrEE
Рет қаралды 10 МЛН
PWC Data Engineer Interview Question and Answer - 2024
3:32
Pooja Tripathi
Рет қаралды 834
Practice SQL Interview Query | Big 4 Interview Question
14:47
7 Days Stranded In A Cave
17:59
MrBeast
Рет қаралды 95 МЛН