I'm not a DBA, and I don't pretend to be one. I'm a C++ programmer and the only time I care about SQL is when I'm trying to coerce some database to give up the information I need. As I don't develop on an internet connected machine, I'm constantly running to the Google Gods to answer my SQL questi
SQL in a Nutshell: A Desktop Quick Reference
β Scribed by Kevin Kline, Regina O. Obe, Leo S. Hsu
- Publisher
- O'Reilly Media
- Year
- 2022
- Tongue
- English
- Leaves
- 360
- Edition
- 4
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
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 13 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
β¦ Table of Contents
- SQL History and Implementations
The Relational Model and ANSI SQL
Coddβs Rules for Relational Database Systems
Coddβs Rules in Action: Simple SELECT Examples
History of the SQL Standard
Whatβs New in SQL:2016
Whatβs New in SQL:2011
Whatβs New in SQL:2008
Whatβs New in SQL:2006
Whatβs New in SQL:2003 (aka SQL3)
Levels of Conformance
Supplemental Features Packages in the SQL3 Standard
SQL3 Statement Classes
SQL Dialects - Foundational Concepts
Database Platforms Described in This Book
Categories of Syntax
Identifiers
Literals
Operators
Keywords and Reserved Words
ANSI/ISO SQL and Platform-specific Data Types
MySQL Data Types
Oracle Datatypes
PostgreSQL Data types
SQL Server Data Types
Constraints
Scope
Syntax
PRIMARY KEY Constraints
FOREIGN KEY Constraints
UNIQUE Constraints
CHECK Constraints - Structuring Your Data
How to Use This Chapter
SQL Platform Support
SQL Command Reference
CREATE/ALTER DATABASE Statement
CREATE/ALTER DOMAIN Statement
CREATE/ALTER INDEX Statement
CREATE ROLE Statement
CREATE SCHEMA Statement
CREATE/ALTER TABLE Statement
CREATE/ALTER TYPE Statement
CREATE/ALTER VIEW Statement
DROP Statements
π SIMILAR VOLUMES
SQL in a Nutshell is a practical and useful command reference to the latest release of the Structured Query Language (SQL99), helping readers learn how their favorite database product supports any standard SQL command. This book presents each of the SQL commands and describes its use in both comme
<p><span>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
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
SQL in a Nutshell applies the classic O'Reilly "Nutshell" format to Structured Query Language (SQL), the elegant descriptive language that's used to create and manipulate stores of data. This book explains the purpose and proper syntax of hundreds of SQL statements, as defined in four major SQL impl
<p>The essential reference to the SQL language used in today's most popular database products, this new edition of <em>SQL in a Nutshell</em> clearly documents every SQL command according to the latest ANSI standard. It also details how these commands are implemented in the Microsoft SQL Server 2008