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
Data Algorithms
If you are ready to dive into the MapReduce framework for processing large datasets, this practical …
book
Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, 3rd Edition
Through a recent series of breakthroughs, deep learning has boosted the entire field of machine learning. …
book
Learn PostgreSQL
A comprehensive guide to building, managing, and securing scalable and reliable database and data warehousing applications …
book
Learning TypeScript
TypeScript has conquered the world of JavaScript: it's one of the world's fastest growing and most …