Cheat Sheet
DATABASECHEAT SHEETS
SHEET 04
SELECT, Filtering and Sorting
M.R. Sterling
Database Intro · Sheet 04

SELECT, Filtering and SortingSQLite

How SQLite reads a query, clause by clause, with the real row count after each one. Then WHERE and every comparison, LIKE and its wildcards, IN, BETWEEN, IS NULL, AND and OR, ORDER BY, DISTINCT and a computed age.

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 SELECT, Filtering and Sorting cheat sheet
Page 1 (front)
Page 2 of the SELECT, Filtering and Sorting cheat sheet
Page 2 (back)

What is on this sheet

How SQLite reads a query
SELECT
Quotes follow the type
WHERE
= or LIKE
IN, NOT IN and BETWEEN
NULL
AND, OR and NOT
ORDER BY, DISTINCT and a computed age
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.