Cheat Sheet
DATABASECHEAT SHEETS
SHEET 05
Joining Tables
M.R. Sterling
Database Intro · Sheet 05

Joining TablesSQLite

Every kind of join on two A4 pages: INNER, LEFT, RIGHT and FULL OUTER, self joins, CROSS JOIN and three table joins. Each one has a query that was run and the result it really returned.

Or get all 6 in the Database Cheat Sheets: Intro Pack for $19, or with the whole Health Database Clinic series in the Health Database Clinic - Complete + Cheat Sheets for $99.

Instant PDF downloadsent the moment you pay
Two A4 pagesprint front and back
SQLiteevery query runs as printed
Keep it foreverno expiry, no account

What the sheet looks like

A blurred preview, to show the layout and how much fits on the two pages. The full, print-sharp sheet comes with your download.

Page 1 of the Joining Tables cheat sheet
Page 1 (front)
Page 2 of the Joining Tables cheat sheet
Page 2 (back)

What is on this sheet

Which rows come back
INNER and LEFT JOIN
Find what has no match
Three tables
Which join do I need?
Self join and CROSS JOIN
FULL OUTER JOIN, two ways
Common mistakes
Quick check and glossary
Learn it properly

The books this sheet pairs with

The sheet reminds you. These books teach it, one idea at a time, with every example worked.

More Database Intro sheets

One email when a new book lands

No schedule, no filler. Just the new titles and the odd free chapter.