Skip to content
Discussion options

You must be logged in to vote

Joins combine data from multiple tables based on a related column.


INNER JOIN

Returns only matching records.

Example

Customers

ID | Name -- | -- 1 | John

LEFT JOIN

Returns all rows from the left table and matching rows from the right table.


RIGHT JOIN

Returns all rows from the right table and matching rows from the left table.


FULL OUTER JOIN

Returns all rows from both tables, matching where possible.


Interview Tip

INNER JOIN is the most commonly used join in backend applications.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by janedoe2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants