Jump to ratings and reviews
Rate this book

In a Nutshell

SQL In A Nutshell, 3/E

Rate this book
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 implementations, and details each entry with explanatory text and illustrative examples. Perhaps best of all, authors Kevin and Daniel Kline feature MySQL in their coverage, and give it billing that's equal to that of Oracle, Microsoft SQL Server, and PostgreSQL. Their inclusion of open-source MySQL, which in most situations carries no license fee, is recognition of its growing popularity and suitability for serious database applications; also, it improves this book's appeal to Unix and Linux developers.

The majority of this slender book comprises eminently useful syntax documentation (which is in the style of Unix man pages, with bracketed options and monospace arguments) and the other information that's specific to individual statements and functions. Additionally, it includes a relatively small amount of conceptual information, such as a section on the proper use of NULL values. The material that's not statement-specific also contrasts data-type implementations of the four covered platforms--for example, readers learn that a PostgreSQL int2 value is known as a smallint in ANSI standard SQL. This is a particularly handy reference book, if you use one of the emphasized SQL implementations. --David Wall

Topics covered: Structured Query Language (SQL), as implemented in Oracle, Microsoft SQL Server, MySQL, and PostgreSQL, as well as in ANSI standard SQL (SQL92 and SQL99). After an introduction to data types and relational database fundamentals (the latter is not emphasized), the authors document SQL statements and functions, one by one and alphabetically. They take care to point out differences among the four implementations.

606 pages, Paperback

First published January 1, 2000

8 people are currently reading
135 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
35 (24%)
4 stars
54 (37%)
3 stars
34 (23%)
2 stars
17 (11%)
1 star
3 (2%)
Displaying 1 - 7 of 7 reviews
Profile Image for Warren Owen.
30 reviews
May 8, 2017
Useful compact reference book for someone who occasionally uses SQL.
Profile Image for Austin Craver.
2 reviews3 followers
April 14, 2019
The author clearly states in the preface what this book is, and is not. The book is primarily a command reference. It is intended as a reference tool, not a tutorial. Nor is it expository.
16 reviews
March 9, 2023
Usefull

SQL has so many possibilities.

So easy to start to use.
So easy to became complex and hard :)
Profile Image for Daniel.
15 reviews
September 27, 2012
This is useful ONLY as a reference. Its organization is utterly useless unless you already know SQL top to bottom and just need a refresh on the fiddly bits. That said, if the above is what you're looking for, it is good at that job.
Profile Image for Talia.
Author 3 books4 followers
September 7, 2009
A great reference to have on hand if you're working with SQL databases
Displaying 1 - 7 of 7 reviews

Can't find what you're looking for?

Get help and learn more about the design.