Book description
For programmers, analysts, and database administrators, this Nutshell guide is the essential reference for the SQL language used in today's most popular database products. This new fourth edition clearly documents SQL commands according to the latest ANSI/ISO standard and details how those commands are implemented in Microsoft SQL Server 2019 and Oracle 19c, as well as in the MySQL 8, MariaDB 10.5, and PostgreSQL 14 open source database products.
You'll also get a concise overview of the relational database management system (RDBMS) model and a clear-cut explanation of foundational RDBMS concepts--all packed into a succinct, comprehensive, and easy-to-use format.
Sections include:
- Background on the relational database model, including current and previous SQL standards
- Fundamental concepts necessary for understanding relational databases and SQL commands
- An alphabetical command reference to SQL statements, according to the SQL:2016 ANSI standard
- The implementation of each command by MySQL, Oracle, PostgreSQL, and SQL Server
- An alphabetical reference of the ANSI SQL:2016 functions and constructs as well as the vendor implementations
- Platform-specific functions unique to each implementation
Publisher resources
Table of contents
- Preface
- 1. SQL History and Implementations
- 2. Foundational Concepts
- 3. Structuring Your Data
-
4. Reading Your Data
- How to Use This Chapter
- SQL Platform Support
-
SQL Command Reference
- ALL/ANY/SOME Operators
- BETWEEN Operator
- EXCEPT Set Operator
- EXISTS Operator
- FILTER Clause
- GROUP BY Clause
- IN Operator
- INTERSECT Set Operator
- IS Operator
- JOIN Subclause
- LIKE Operator
- ORDER BY Clause
- OVER Clause
- SELECT Statement
- SUBQUERY Substatement
- UNION Set Operator
- VALUES Clause
- WHERE Clause
- WITH Clause
- WITH ORDINALITY Clause
- 5. Manipulating Your Data
- 6. Securing Your Data
- 7. SQL Built-in Functions
- 8. SQL Built-in Aggregate and Window Functions
-
9. Storing Logic in the Database
- How to Use This Chapter
- SQL Platform Support
-
SQL Command Reference
- CALL Statement
- CLOSE Statement (Cursors)
- CREATE/ALTER AGGREGATE Statement
- CREATE CAST Statement
- CREATE/ALTER FUNCTION/PROCEDURE Statement
- CREATE/ALTER METHOD Statement
- CREATE/ALTER/DROP TRIGGER Statement
- DECLARE CURSOR Statement
- FETCH Statement (Cursors)
- OPEN Statement (Cursors)
- RETURN Statement
- Platform-Specific Extensions
- 10. Flexible and Schemaless
- A. Shared and Platform-Specific Keywords
- Index
- About the Authors
Product information
- Title: SQL in a Nutshell, 4th Edition
- Author(s):
- Release date: June 2022
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781492088868
You might also like
book
SQL in a Nutshell, 3rd Edition
For programmers, analysts, and database administrators, SQL in a Nutshell is the essential reference for the …
book
SQL Queries for Mere Mortals: A Hands-On Guide to Data Manipulation in SQL, 4th Edition
The #1 Easy, Common-Sense Guide to SQL Queries—Updated with More Advanced Techniques and Solutions Foreword by …
book
Learning SQL, 3rd Edition
As data floods into your company, you need to put it to work right away—and SQL …
book
SQL Cookbook, 2nd Edition
You may know SQL basics, but are you taking advantage of its expressive power? This second …