Airbnb SQL Interview Question | Convert Comma Separated Values into Rows | Data Analytics
In this video we are going to discuss a SQL problem asked in Airbnb interview. The problem is called as Most Popular Room Types. In this problem we will learn how to convert comma separated values into row.
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 airbnb_searches
(
user_id int,
date_searched date,
filter_room_types varchar(200)
);
delete from airbnb_searches;
insert into airbnb_searches values
(1,’2022-01-01’,’entire home,private room’)
,(2,’2022-01-02’,’entire home,shared room’)
,(3,’2022-01-02’,’private room,shared room’)
,(4,’2022-01-03’,’private room’)
;
#sql #airbnb #interview
2 views
772
260
7 months ago 00:06:29 1
Analysis of AirBnB Data Using SQL | Data Portfolio Project