Easy Database Systems SQL Fundamentals
What are the different types of SQL JOINs?
Answer
INNER JOIN returns matching rows from both tables. LEFT JOIN returns all rows from left table plus matching rows from right (nulls for non-matches). RIGHT JOIN is opposite of LEFT. FULL OUTER JOIN returns all rows from both tables (nulls for non-matches). CROSS JOIN returns Cartesian product of both tables. Self-join joins a table to itself. Each type serves different purposes for combining data across tables.
IIT Certified
Master These Concepts with IIT Certification
175+ hours of industry projects. Get placed at Bosch, Tata Motors, L&T and 500+ companies.
Relevant for Roles
Software Engineer Backend Developer Data Analyst