A Gallery of Described Diagrams for Beginners
Some ideas are easiest to understand as pictures. Our visual lessons describe their diagrams in words, so they work with screen readers and on any device. This gallery lists them with a caption for each, so you can pick the picture you need.
How apps and databases connect
**How an app talks to a database, in annotated pictures.** Caption: a row of boxes, your code, the driver, the network and the database, with arrows showing a query going out and rows coming back. Best for: seeing where each piece of the puzzle sits.
Tables and keys
**A picture-by-picture guide to keys linking two tables.** Caption: two small tables side by side, with a line drawn from each order to its customer's id. Best for: understanding foreign keys for the first time.
Queries in motion
**Watching a SELECT query run, step by step.** Caption: a table of rows that is first filtered, then sorted, then cut down to the first few, with each stage drawn separately. Best for: understanding the order in which WHERE, ORDER BY and LIMIT apply.
Infographics and diagram pages
| Page | What it shows |
|---|---|
| Infographic one | Key facts as short labelled blocks |
| Infographic two | A second topic in the same at-a-glance format |
| Diagram library one | Described diagrams with numbered walkthroughs |
| Diagram library two | More described diagrams |
| Visual explainer gallery | A collection of picture guides with captions |
How to use described diagrams
- Read the caption first. It tells you what the picture is about before the details.
- Sketch it yourself. Drawing two tables and the line between them on paper fixes the idea better than looking.
- Then type the SQL. Every visual lesson pairs its picture with a small query; running it connects the drawing to real behaviour.
Why the pictures are described in words
Images alone leave out readers who use screen readers or slow connections, and they cannot be searched. Writing out what each diagram shows also forces the explanation to be clear. If a description does not make sense without the picture, that is a sign the lesson needs improving, so please tell us through the contact page.
Make your own diagram
A good exercise after reading any visual lesson: draw your own practice database. One box per table, columns listed inside, and an arrow from each foreign key to the primary key it points to. Database tools call this an entity relationship diagram. Yours does not need to be pretty; it just needs to be correct. Then check it against the CREATE TABLE statements in your schema.sql. Any arrow without a matching REFERENCES clause is a link the database is not enforcing.
A free learning page for beginners. Practise on a test database, never on real customer data, and check the official documentation for your database version.
Images and screens on this page are illustrative. This site does not operate a hosted platform, app or API.
Get new pages by email