SQL and Relational Theory
by C. J. Date · C.J. Date
Date argues SQL should be used as a disciplined implementation of the relational model, examining relations versus tables, nulls and three-valued logic, duplicate rows, view updating and constraints. Readers learn to spot where SQL departs from relational theory and write around it.
This link may earn us a small commission at no extra cost to you. Affiliate disclosure
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.net
SQLZoo.net is an interactive SQL learning resource offering free tutorials and hands-on practice with live databases. It provides step-by-step lessons and coding exercises on SQL topics (SELECT, JOIN, aggregation, etc.) with immediate feedback.
Introduction to Database Systems (15-445/645)
Learn relational database systems from Carnegie Mellon's Andy Pavlo. Explore core concepts and implementations!
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.