Database & SQL

SQL Join Type Reference

Search SQL join types by name or use case. Covers INNER, LEFT, RIGHT, FULL, CROSS, LATERAL joins plus anti-join and semi-join patterns with plain-English explanations.

Calculations run locally in your browser

SQL Join Type Reference

The SQL Join Type Reference covers all standard SQL join types plus LATERAL, anti-join, semi-join, and join order planning with plain-English explanations and use cases.

โ€ข Look up the correct join type for an 'all rows with no match' query

โ€ข Understand when to use LATERAL vs a correlated subquery

โ€ข Find the Cartesian product join syntax for generating test data

โ€ข Reference anti-join pattern using LEFT JOIN WHERE IS NULL

Continue with Utility Matrix tools for the next decision in this workflow.
Browse tools โ†’
What does this tool tell you?
The SQL Join Type Reference covers all standard SQL join types plus LATERAL, anti-join, semi-join, and join order planning with plain-English explanations and use cases.
What affects the result most?
INNER JOIN: only rows with matching keys in both tables โ€” most common join type. LEFT JOIN: all rows from left table, NULL for right columns when no match. CROSS JOIN: Cartesian product โ€” every row in left ร— every row in right.
How should I use the result?
Use this tool to orient quickly to the concepts, field names, or values you are about to look up in a full specification or vendor documentation. It summarizes the common cases; the authoritative source remains whichever standard or vendor doc defines the values themselves.
Managed PostgreSQL hosting. Railway provides a hosted PostgreSQL option for teams that want a managed database alongside application deployment.
View Railway PostgreSQL options โ†’
External site ยท Independent provider ยท We may receive a commission ยท Not a recommendation