Introductory SQL: Ask Questions of Tables

Practise a first SQL query sequence: select columns, filter rows, group results, and distinguish WHERE from HAVING.

Looking for step-by-step tutorials for individual AI tools?

Course overview

This beginner sequence builds an exploratory query in small, reviewable steps. Begin by selecting columns from a table, narrow the records with a row condition, summarize the filtered rows by category, and then distinguish filters on source rows from conditions on grouped results. The lessons are demonstrations, not a promise of a particular database setup; use a safe practice table and adapt dialect-specific details to your environment.

Read a simple SELECT and FROM query and choose only needed columns. Apply a WHERE condition and explain which source rows it retains. Use GROUP BY and ORDER BY, and distinguish WHERE from HAVING.

No SQL experience required. Familiarity with rows, columns, and a table is useful. A database installation is optional for completing the paper-query exercises.

Beginners who want a clear, guided introduction without unnecessary jargon

People who learn best through examples, guided lessons, and hands-on practice

Professionals, creators, and independent builders looking for a repeatable workflow

Lesson 1 is free

4 lessons · Beginner · Full course.

Open-license course content · CC BY licensed · license verified

This course uses CC BY licensed material attributed to its content provider or uploader. Lesson playback is available only through authenticated access after publication and licensing checks pass.