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 months ago 00:00:00 1
Free Live Data Science, AI/ML(including Gen AI & LLMs) course - Session 2
5 months ago 04:03:27 1
SQL Server Performance Essentials – Full Course
5 months ago 01:37:51 1
6 Query Tuning Techniques - Solve 75% SQL Server Performance Problems (by Amit Bansal)
6 months ago 00:20:44 1
Как собрать Скваер-0 | | How to Solve the Square-0 | SQ-0 Tutorial
7 months ago 00:08:30 1
Как собрать Зеркальный Скваер-0 | | How to Solve the Mirror Square-0 | SQ-0 Tutorial
8 months ago 00:02:53 1
A network-related or instance-specific error occurred while establishing a connection to SQL Server
8 months ago 04:52:51 1
Artificial Intelligence Full Course | Artificial Intelligence Tutorial for Beginners | Edureka
9 months ago 00:03:26 1
If Programming Was An Anime
10 months ago 00:24:07 2
NLP Roadmap 2024: Step-by-Step Guide | Resources
11 months ago 00:09:27 1
5 Design Patterns That Are ACTUALLY Used By Developers
1 year ago 01:39:49 1
AI & LLMs ЗАМЕНЯТ РАЗРАБОВ. ГОТОВЬСЯ УЖЕ СЕЙЧАС
1 year ago 08:58:36 2
C# Full Course : C# Tutorial for Beginners
1 year ago 00:26:51 1
Slowly Changing Dimensions – The Ultimate Guide
2 years ago 05:25:39 23
SQL Tutorial for Beginners (and Technical Interview Questions Solved)
2 years ago 00:09:22 1
How I’d Use ChatGPT to Learn to Code (If I Could Start Over)
2 years ago 00:12:49 14
RDBMS and Setup [1 of 7] | Programming Databases with T-SQL for Beginners
2 years ago 00:08:59 2
Can you solve my favorite interview question? (math + cs)
2 years ago 00:08:46 2
Sq-1: parity + cubeshape example solve
2 years ago 00:15:32 11
How many Twitch viewers became streamers? A SQL coding question
2 years ago 00:07:27 1
PostgreSQL || PgAdmin4 || Fatal Error || The server could not be contacted || Windows 10 OS|| Solved
2 years ago 00:58:22 10
Learn SQL for Data Analysis in one hour (with sample dataset + 50 queries)
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