SQL · Basic to Pro

SQL & Databases — Full Course

This course takes you from your very first SELECT statement to writing the kind of SQL used by real backend and analytics teams — window functions, query performance, and transactions that keep data correct under concurrent access.

Every lesson includes runnable example queries. Try them against a free SQLite playground in your browser, or your own local database, and use the Back and Forward buttons to move through the course in the order it was designed.

What you will learn

  • Querying and filtering rows with SELECT and WHERE
  • Sorting, limiting, and removing duplicates
  • Aggregate functions and GROUP BY
  • Joining data across multiple tables with INNER JOIN and LEFT JOIN
  • Subqueries and Common Table Expressions (CTEs)
  • Basic database design: primary keys, foreign keys, and creating tables
  • Window functions for ranking and running totals
  • Indexes and reading a query execution plan
  • Transactions and constraints that protect data integrity

Who this is for

No prior programming experience required. Especially useful if you are moving into a data analyst, backend, or full-stack role where querying a database is a daily task.

Start Course → Continue Where You Left Off →