Cover image for SQL in a nutshell : a desktop quick reference
SQL in a nutshell : a desktop quick reference
Kline, Kevin E., 1966-
Personal Author:
First edition.
Publication Information:
Beijing ; Cambridge [Mass.] : O'Reilly, [2001]

Physical Description:
viii, 214 pages ; 23 cm
General Note:
Includes index.
Title Subject:
Added Author:
Format :


Call Number
Material Type
Home Location
Item Holds
QA76.73.S67 K55 2001 Adult Non-Fiction Central Closed Stacks

On Order



SQL (Structured Query Language) is a standardized query language for requesting information from a database. Historically, SQL has been the choice for database management systems running on minicomputers and mainframes. Increasingly, however, SQL is being adapted to PC database systems because it supports distributed databases--databases that are spread out over several computer systems, so that several users on a local-area network can access the same database simultaneously. Although there are different dialects of SQL, it is the closest thing to a standard query language that currently exists. 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 commercial (Microsoft SQL Server 2000 and Oracle 8 i ) and open source (MySQL, PostgreSQL 7.0) implementations. Each command reference includes the command syntax (by vendor, if the syntax differs across implementations), a description, and informative examples that illustrate important concepts and uses.SQL in a Nutshell is more than a convenient reference guide for experienced SQL programmers, analysts, and database administrators. It's also a great learning resource for novice and auxiliary SQL users such as system administrators, users of packaged client/server products, and consultants who need to be familiar with the various SQL dialects across many platforms.

Table of Contents

Prefacep. v
Chapter 1 SQL, Vendor Implementations, and Some Historyp. 1
The Relational Database Modelp. 1
The Databases Described in This Bookp. 2
The SQL Standardp. 2
Dialects of SQLp. 6
Principles of Relational Databasesp. 7
Chapter 2 Foundational Conceptsp. 9
Row Processing Versus Set Processingp. 9
The Relational Modelp. 10
SQL99 and Vendor-Specific Datatypesp. 10
Processing NULLSp. 18
Categories of Syntaxp. 19
Using SQLp. 23
Conclusionp. 26
Chapter 3 SQL Statements Command Referencep. 27
Recommended Reading Approachp. 27
Quick SQL Command Referencep. 27
DROP Statementsp. 96
Conclusionp. 162
Chapter 4 SQL Functionsp. 163
Deterministic and Nondeterministic Functionsp. 163
Types of Functionsp. 164
Vendor Extensionsp. 175
Chapter 5 Unimplemented SQL99 Commandsp. 194
Appendix SQL99 and Vendor-Specific Keywordsp. 197
Indexp. 205