TutorialsPreview
LearnDeepReferenceCheatsheetBuild with AI
LearnReferencebeginner6 min

Introduction to SQL

The query language every relational database speaks.

You will learn

What SQL is, why it matters, and how to navigate this track.

SQL is the language every relational database speaks — the single most transferable data skill you can learn.

What is SQL?

SQL (Structured Query Language) lets you describe WHAT data you want, and the database figures out how to fetch it.

One language queries PostgreSQL, MySQL, SQLite, SQL Server, and more, with only small dialect differences.

Your first example

Here is SQL saying hello. Read it top to bottom — every line earns its place.

SELECT name, email
FROM users
WHERE active = true
ORDER BY created_at DESC
LIMIT 5;
Returns the 5 most recently created active users.

Why learn SQL?

  • Every backend role touches a database — SQL is a baseline skill.
  • It transfers across nearly every relational engine.
  • Reading and writing queries makes you far more effective with data.

Where it is used

  • Querying databases
  • Reports & analytics
  • Backend development
  • Data engineering

How this track works

Every topic here has four views, switchable with the tabs at the top of each page:

  • Learn — the clear, practical walkthrough you are reading now.
  • Deep — every detail: edge cases, the full API, and what is really happening.
  • Reference — a scannable, no-fluff lookup for when you already know the shape.
  • Cheatsheet — the one-page summary, printable, for quick recall.

More like this

H
Reference·beginner·8 min

HTML Headings

h1 through h6 are the page’s table of contents. Use them for structure, never for size — that’s what CSS is for.

H
Reference·intermediate·18 min

HTML Headings

h1–h6 are instances of HTMLHeadingElement. They take no special attributes — only the global set and ARIA — but there’s real depth in how they form the document outline and what you can do with them from JavaScript.

H
Reference·beginner·2 min

HTML Headings

Headings, distilled to what you must remember.

Liked this one?

Pass it on

Discussion

Be the first to ask

Your questions stay private with the team. We can pin answers to share with everyone.

Sign in to ask a question privately on this tutorial.

Sign in

No pinned answers yet for this tutorial.