learnthings
← All paths

SQL, from your first SELECT to window functions

Get a real database running, learn the queries you write every day, then joins, CTEs and window functions — with exercise sites to practise on after each stage.

69 sources·16 rooms

Published by learnthings · 2h ago

sqldatabasesdata analysis
You get your own copy — yours to change, and to take notes on.

Stage 1 · What a database is, and getting one running

read

Two front doors

2
  1. 4SQLBolt — interactive lessons in the browsersqlbolt.com
  2. 5The PostgreSQL tutorialpostgresql.org

Stage 2 · The queries you write every day

read

Practise as you go

3
  1. 15SQLZoosqlzoo.net
  2. 16Select Star SQL — an interactive bookselectstarsql.com
  3. 17The MySQL tutorialdev.mysql.com

Stage 3 · Joins, subqueries, CTEs and windows

read

Exercises with a real schema

1
  1. 28PostgreSQL Exercisespgexercises.com

Stage 4 · Practice on real problems

Stage 5 · Beyond queries

read

Making queries fast, and readable

2
  1. 60Use The Index, Luke — SQL indexing and tuninguse-the-index-luke.com
  2. 61SQL style guidesqlstyle.guide
notebook

How to use this path

1
  1. 69Type every query
SQL, from your first SELECT to window functions · learnthings