Introduction to Database Systems (15-445/645)
Andy Pavlo
Learn relational database systems from Carnegie Mellon's Andy Pavlo. Explore core concepts and implementations!
More resources on Relational Databases
Relational Database
Master SQL database concepts with freeCodeCamp's interactive Relational Database course. Build practical projects and gain valuable skills!
MySQL 8.0 Reference Manual
The official and most comprehensive documentation for MySQL. It's an invaluable resource for understanding all aspects of MySQL, from installation and configuration to advanced features, SQL syntax, and administration. While not a traditional 'book' in print, it functions as a highly detailed and authoritative reference available online for free.
use-the-index-luke.com
A practical guide to database indexing and query optimization, offering clear explanations of how indexes work, how to design them, and tutorials with SQL examples across major relational databases.
SQLZoo
Free interactive SQL tutorial in which learners type queries against live sample databases and get immediate feedback, progressing from SELECT basics through filtering, aggregate functions, joins, subqueries and NULL handling to build practical query-writing fluency.
DB-Fiddle
A browser-based playground where you paste schema and query SQL, choose a MySQL, MariaDB, PostgreSQL or SQLite version, run it, and share the result by link. Useful for reproducing query behaviour and comparing engines without local installs.
Intro to SQL: Querying and managing data
Learn SQL fundamentals with Khan Academy! Master querying and managing data in this free introductory course.