Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: What is the difference between a left join and an inner join in SQL?
Answer: An inner join returns only the rows where there is a match in both tables, while a left join returns all rows from the left table and the matched rows from the right table.

Example:

Selecting all customers and their orders, even if some customers have not placed any orders (left join).
Is it helpful? Yes No

Most helpful rated by users:

©2026 WithoutBook