I have consolidated and revised my SQL titles. The following two books are in print.
SQL Database Programming (Fifth Edition)
466 pages. For end users, analysts, data scientists, students, and developers who want an in-depth understanding of core SQL and the relational model. Go to questingvolepress.com to download the companion files and sample database.
Rapid SQL: A Self-Teaching Guide (Fifth Edition)
268 pages. For people who want to learn quickly how to query databases by using SQL, with little discussion of the relational model, optimization, or advanced topics. Go to questingvolepress.com to download the companion files and sample database.
Older SQL books