For working with data yourself

5 chapters · 10 lessonsAbout 1.5 h

SQL Fundamentals

Beginner

Go from reading a database to shaping it. Build the queries day-to-day analysis needs, then create tables, indexes, and views of your own.

This course continues from SQL Introduction

Coming Soon

About this course

The introductory course taught you to read a database with SQL. Now you shape one.

Every lesson starts from a situation you will meet at work: sales by month, customers who never ordered, month-over-month change. Solving it is what makes the new syntax necessary.

The database is a simulation checked byte for byte against real PostgreSQL 17, down to the query planner. When you add an index, it speeds things up (or does not) exactly as the real thing would.

Sample Lessons

Skills you'll learn

Build the Everyday Queries

CASE, dates, subqueries, CTEs, and window functions: the shapes real analysis is made of.

Create Tables That Cannot Break

Types, constraints, and foreign keys keep bad data out from the start.

Check the Speed and Fix It

Read a query plan and see for yourself whether an index helped.

Who this course is for

Finished SQL Introduction

Beyond filter, summarize, and join: build the queries you will actually be asked for every day.

Always Asking for the Monthly Numbers

Group by month, rank rows, compare with the previous period. The everyday shapes of analysis, written by you.

Ready to Own the Tables

Constraints, indexes, views. Build tables that cannot break, make them fast, and give the queries you use a name.

Syllabus

5 chapters · 10 lessons

1Changing Values by Condition
2Summarizing by Date
// READY?

BEGIN YOUR
JOURNEY

Join thousands of developers who've mastered the terminal. Your first lesson awaits.

Get Started →