Free SQL Reference Tool

Visualize EverySQL JOIN Type

Interactive Venn diagrams, sample tables, and ready-to-copy SQL code for INNER, LEFT, RIGHT, FULL OUTER, CROSS, and SELF JOINs — understand the difference in seconds.

🔵

Visual Venn Diagrams

See exactly which rows each JOIN type returns, rendered as clear, color-coded Venn diagrams.

📊

Live Sample Data

Explore real input tables and computed result sets for every JOIN type side by side.

📋

Copy-Ready SQL

Get a correct, formatted SQL snippet for each JOIN type — paste straight into your query editor.

ABINNER JOIN

Returns only the rows that have matching values in BOTH tables.

SQL
SELECT a.id, a.name, b.dept
FROM employees a
INNER JOIN departments b ON a.id = b.id;

Input Tables

Table A — employees

idname
1Alice
2Bob
3Carol
4Dave

Table B — departments

iddept
2Engineering
3Design
5Marketing

Result

2 rows
a.ida.nameb.idb.dept
2Bob2Engineering
3Carol3Design

Quick Comparison

Frequently Asked Questions

Everything you need to know about SQL JOIN Visualizer.