A SQL JOIN combines rows from two or more tables based on a related column. Understanding each JOIN type — from INNER to anti-JOINs — lets you query exactly the data you need. Use this visual cheatsheet to find the right JOIN for any scenario.

Dialect:

Showing 9 JOIN types