Azlaan Electric AC Solar Center — Solar, CCTV, AC & electrical work, Faisalabad Call: 0300-8987448

SQL Join Visualizer

Pick a join type to see which rows it returns from our two sample tables, read the ready-to-copy SQL, and watch the Venn diagram shade the matching region.

Choose a join type
Sample tables

customers

customer_idname

orders

order_idcustomer_idproductamount
Venn diagram
customers orders

Result rows
customer_idnameorder_idproductamount

SQL query

Frequently asked questions

It teaches SQL joins with two sample tables, customers and orders. Pick INNER, LEFT, RIGHT, FULL OUTER or an anti join to see the matching result rows, the ready-to-copy SQL, and a Venn diagram of the join.

INNER JOIN returns only rows that match in both tables. LEFT JOIN returns every row from the left table, and fills in NULL where the right table has no match.

An anti join returns rows from one table that have no match in the other table, for example customers who placed no orders. It uses a LEFT JOIN with a WHERE ... IS NULL filter.

Yes, it is completely free to use online with no signup.