Solving SQL Interview Query | Ungroup given input data | FAANG Interview Query
In this video, we will solve an SQL Interview query which was asked during a interview by a FAANG company. The problem statement is to ungroup the given input data.
We need to write a query to split the given input data into multiple records as per the expected output.
To solve this problem, I will be using recursive SQL query. I will solve it in PostgreSQL but similar solution will also work in all the major RDBMS such as MySQL, MSSQL and Oracle.
All the scripts, dataset and sql queries can be downloaded for free from my website. You will also find solution to this problem in PostgreSQL, Oracle, MySQL and Microsoft SQL Server in my blog.
✅ Link to download the scripts:
Timestamp:
00:00 Intro
00:48 Understanding the problem statement
02:22 Deciding the approach to solve this SQL problem
03:21 Syntax and execution process of Recursive SQL Query
05:15 Writing the SQL Query to solve the problem
🔴 My Recommended courses:
✅ FREE SQL Practice course (valid only until 30-Sep-2022):
✅ Learn complete SQL:
✅ Practice SQL Queries:
✅ Learn Python:
✅ Learn Power BI:
🔴 WATCH MORE VIDEOS HERE 👇
✅ SQL Tutorial - Basic concepts:
✅ SQL Tutorial - Intermediate concepts:
✅ SQL Tutorial - Advance concepts:
✅ Practice Solving Basic SQL Queries:
✅ Practice Solving Intermediate SQL Queries:
✅ Practice Solving Complex SQL Queries:
✅ Data Analytics Career guidance:
✅ SQL Course, SQL Training Platform Recommendations:
✅ Python Tutorial:
✅ Git and GitHub Tutorial:
✅ Data Analytics Projects:
THANK YOU,
Thoufiq
6 views
1045
302
2 years ago 00:12:34 4
Tricky SQL Interview Query | Practice Solving SQL Interview Queries
2 years ago 00:09:19 2
Solving SQL Interview Query | SQL Problem by Service based company
3 years ago 00:14:23 6
Solving SQL Interview Query | Ungroup given input data | FAANG Interview Query
3 years ago 00:11:35 8
Amazon SQL Interview Questions & Answers
2 years ago 05:25:39 23
SQL Tutorial for Beginners (and Technical Interview Questions Solved)
3 years ago 00:14:29 9
Data Science SQL Interview Question and Answer | Airbnb
3 years ago 00:14:47 9
Practice SQL Interview Query | Big 4 Interview Question
2 years ago 00:15:32 11
How many Twitch viewers became streamers? A SQL coding question