Data

SQL and Database Design

Query, analyse and design relational databases, the backbone of every application.

15 lessonsAbout 24 hoursBeginner Certificate

What you will learn

  • Write SELECT queries with filtering, sorting and aggregation
  • Combine tables confidently with every kind of JOIN
  • Design normalised tables with keys, relationships and indexes
  • Change data safely with transactions

About this course

Almost every app and every analytics team runs on SQL. In this course you query real data from the first lesson, using exercises that run a real database inside your browser, then learn to design schemas that stay correct as your app grows.

Curriculum

Querying data5 lessons
  • SQL for beginners
  • SELECT, WHERE and ORDER BY
  • Coding: your first queries
  • Coding: revenue per customer
  • SQL keywords
Joining tables3 lessons
  • Simulation: JOIN visualiser
  • Coding: customers who never ordered
  • Reading an entity-relationship diagram
Designing databases7 lessons
  • Database design
  • Normalisation and indexes
  • SQL cheat sheet (PDF)
  • Practise more: SQLBolt
  • Quiz: SQL and design
  • Audio recap: think in sets
  • Assignment: design a clinic booking database