SQL Books

  

The Language of SQL, 3rd Edition

Published by Addison-Wesley in November 2021, paperback and eBook, 250 pages. A translation is available in Polish.

Click here to purchase the book on Amazon in the US

Many SQL books attempt to serve as an encyclopedic reference on SQL syntax, an approach that is often counterproductive because that information is readily available in online references published by the major database vendors. For SQL beginners, it’s more important for a book to focus on general concepts and to offer clear explanations and examples of what various SQL statements can accomplish. This is that book. Several features make The Language of SQL unique among introductory SQL books. First, you will not be required to download software or sit with a computer as you read the text. The intent of this book is to provide examples of SQL usage that can be understood simply by reading. Second, topics are organized in an intuitive and logical sequence. SQL keywords are introduced one at a time, allowing you to grow your understanding as you encounter new terms and concepts. Finally, this book covers the syntax of the latest releases of three widely used databases: Microsoft SQL Server 2019, MySQL 8.0, and Oracle 18c. Special “Database Differences” sidebars clearly show you any differences in syntax among these three databases, and instructions are included on how to obtain and install free versions of the databases. In short, this is the only book you need to gain a quick working knowledge of SQL and relational databases.

Table of Contents

1. Relational Databases and SQL
2. Basic Data Retrieval
3. Calculated Fields and Aliases
4. Using Functions
5. Sorting Data
6. Selection Criteria
7. Boolean Logic
8. Conditional Logic
9. Summarizing Data
10. Subtotals and Crosstabs
11. Inner Joins
12. Outer Joins
13. Self Joins and Views
14. Subqueries
15. Set Logic
16. Stored Procedures and Parameters
17. Modifying Data
18. Maintaining Tables
19. Principles of Database Design
20. Strategies for Using Excel

Appendix A: Getting Started with Microsoft SQL Server
Appendix B: Getting Started with MySQL
Appendix C: Getting Started with Oracle

Purchasing the Book

Print editions of the book can be purchased from these online bookstores in the US:

Amazon
Barnes & Noble
InformIT

These sites offer digital editions of the book:

Amazon (Kindle)
Barnes & Noble
InformIT (ePub, Mobi and PDF)

The book can also be purchased from these sites outside of the US:

Amazon Canada
Amazon France
Amazon Germany
Amazon India
Amazon Italy
Amazon Japan
Amazon Spain
Amazon UK
Booktopia (Australia)
Angus & Robertson (Australia)
Indigo (Canada)

The Polish edition is available in paperback from:

Apple Books
The Polish Bookstore (Poland, ships to US)

Errata

Chapter 4 sidebar “Focus on Analysis: Relative Dates” on page 38:
The third line of code in the second example reads:
+ RTRIM(CAST(DATEPART(month, DATEADD(year, -1, GETDATE())) as char))
It should be:
+ RTRIM(CAST(DATEPART(year, DATEADD(month, -1, GETDATE())) as char))

  

The Language of SQL, 2nd Edition

Published by Addison-Wesley in August 2016, paperback and eBook, 224 pages. Translations are available in Chinese, Korean and Polish.

Purchasing the Book

Print editions of the book can be purchased from these online bookstores in the US:

Amazon
Books-A-Million
IndieBound
InformIT

These sites offer digital editions of the book:

Amazon (Kindle)
Barnes and Noble (Nook Book)
Google Play (ePub and PDF)
InformIT (ePub, Mobi and PDF)

The book can also be purchased from these sites outside of the US:

Amazon Canada
Amazon France
Amazon Germany
Amazon India
Amazon Italy
Amazon Japan
Amazon Spain
Amazon UK
Book Depository (UK)
Booktopia (Australia)
Angus & Robertson (Australia)

The Chinese edition is available in paperback from:

Amazon
Amazon China

The Korean edition is available in paperback from:

Amazon

The Polish edition is available in paperback from:

Amazon

The Polish edition is available as an eBook from:

Apple Books

  

The Language of SQL, 1st Edition

Published by Cengage Learning in June 2010, paperback and eBook, 239 pages. Translations are available in Chinese and Polish. This book is out of print.

Purchasing the Book

Used copies can be purchased from this online bookstore in the US:

Amazon

Used copies can be purchased from this site outside of the US:

Amazon Canada

Used copies of the Chinese edition can be purchased from:

Amazon

Used copies of the Polish edition can be purchased from:

Amazon
Amazon Italy
Amazon Spain
Amazon UK

Comments Off on SQL Books