Войти
  • 598592Просмотров
  • 3 года назадОпубликованоtechTFQ

SQL JOINS Interview Question | What does different SQL Joins return?

Given 2 tables, identify the no of records returned using different type of SQL Joins. This is a very frequently asked SQL Interview questions especially when a recruiter wants to test your knowledge on SQL joins, this is the kind of questions you can expect. If you’d like to practice SQL queries or explore my recorded SQL courses, check out my all-in-one SQL learning platform, SQLNest 👇 In this video, we shall look at 2 different datasets. Each dataset contains 2 tables which has duplicate data, null values etc. You are required to identify the no of records returned using INNER Join, LEFT Join, RIGHT Join, FULL JOIN, Natural Join and Cross Join. And you need to answer them without querying the tables. Hence in order to answer such questions, you need to understand clearly how SQL internally performs different type of joins. Download the dataset used in the video from my blog. Link below: Timestamp: 00:00 Intro 00:48 Understanding dataset from Scenario 1 01:35 Understanding INNER JOIN 06:03 Understanding LEFT JOIN 09:48 Understanding RIGHT JOIN 12:03 Understanding FULL OUTER JOIN 14:33 Understanding CROSS JOIN 15:58 Understanding NATURAL JOIN 19:35 Answering all JOINS result from Scenario 2 dataset 🔴 My Recommended courses 👇 ✅ 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