CARVIEW |
By?Kevin Kline
With Daniel?Kline
First Edition December 2000
Pages: 224
Series: In a Nutshell
ISBN 10: 1-56592-744-3 |
ISBN 13:9781565927445
(Average of 7 Customer Reviews)
This book has been updated—the edition you're requesting is OUT OF PRINT. Please visit the catalog page of the latest edition.
The latest edition is also available on Safari Books Online.
SQL in a Nutshell is a practical and useful command reference to the latest release of the Structured Query Language (SQL99). For experienced SQL programmers, analysts, and database administrators, it's a handy key to each of the SQL commands and its use in both commercial (Microsoft SQL Server 2000 and Oracle 8i) and open source (MySQL, PostgreSQL 7.0) implementations. SQL in a Nutshell is also a great learning resource for novice and auxiliary SQL users.
Full Description
Cover | Table of Contents | Colophon
Featured customer reviews
SQL in a Nutshell Review, July 20 2002





SQL Server 2000, MySQL, Oracle 8i, and PostgreSQL 7.0 implementations of the SQL-99 standard are covered in this desktop reference to SQL syntax. The contents include a short history, concepts, statements (the bulk of the book) and functions, as well as an appendix with a helpful list of SQL and vendor-specific keywords.
This book is meant, as its subtitle states, as a "desktop quick reference", and indeed, its strengths are the ease of reference and the handy comparison among the SQL-99 and vendor implementations. There are weaknesses to the book, such as when researching a particular statement, the description and statement can appear quite cryptic at times. But in spite of its uneven quality, and because of the fact of a multi-database world, this reference is a serviceable addition to anyone's library.
SQL in a Nutshell Review, December 03 2001





I did not find this book as comprehensive as other members of the Nutshell series.
The book has no discussion of subqueries although there are a few examples where subqueries are used without explanation or comment. I teach in the evenings and was hoping to refer my students to this book as a reference. The lack of even an index entry for subquery, correlated subquery, union, or except makes the book unsuitable for students, and incomplete for an experienced user.
If you are expecting something as comprehensive as Java in a Nutshell or VBScript in a Nutshell, you will be disappointed. The chapter on SQL functions is adequate, but most of the topics I looked into were incomplete. I found myself returning to an older reference that I have owned for several years that I won't mention here.
SQL in a Nutshell Review, August 13 2001





I was delighted when I found out that O'Reilly had published this book, but was sorely disappointed when I actually was able to inspect the book.
I was deeply disappointed to find that the book did not cover vendor specific functions. It just listed them and directed the reader to the vendors manuals. This is not even close to being acceptable. Especially when one knows how dependant real world code is on these functions.
My suggestion to would be buyers: Forget it. Wait until they finish the book before you buy.
SQL in a Nutshell Review, July 18 2001





This is a decent first edition, but I would like to see some additional info about desktop databases. Occasionally, DBAs (for whatever reason) get forced into using FoxPro, dBase, Access, FileMaker, etc.
A comprehensive reference that contrasts the syntax and datatypes of those databases with more familiar ("real") database systems could dramatically cut down on trial-and-error time. Knowing, for example, that Access uses "autonumber" fields, rather than SQL Server's "identity" would be useful to someone who does not have access to Access, but is creating their schema through an Access ODBC driver.
Even a simple appendix showing what ODBC drivers (or levels) support would help seasoned SQL programmers leverage their experience into other markets.
SQL in a Nutshell Review, May 27 2001





The book covers a topic (like creating tables) in the general (SQL99) and then in the specific (by database). This would make the book an excellent resource if implemented well. Unfortunately the actual result is a disjointed and inconsistent treatment of the variations between databases. Even worse, when a subsection specifically named for a particular database comes up, examples for other databases get sprinkled in the mix.
It ended up being very difficult to find the exact syntax needed for the database I was using. I started to copy/modify an example only to find that it was a MySQL example right smack in the middle of a section named for PostgreSQL. At the very least, a new subsection header called "examples" would help tremendously.
While I was turned on to a few concepts of which I was previously unaware due to my lack of familiarity with a wide variety of database products, I still ended up just sifting through the online documentation of the database I was working on and printing out the syntax-related highlights. This was precisely what I was trying to avoid when I bought the "Nutshell" book.
As a final gripe, while the back cover states that the book covers PostgreSQL 7.0, the first chapter goes on to state that the reviewed version of PostgreSQL is 6.5. I bought the book based upon the table of contents, the description on the back cover, and the good name of O'reilly. I was sorely disappointed with my investment.
I look forward to a (much needed) second edition that demonstrates a great deal more care. A good cross-implementation reference is a much needed resource, but this effort does little to solve that.
SQL in a Nutshell Review, February 02 2001





Recently, I have started working on a project which requires knowledge of SQL. We were originally planning to use an Oracle database, but switched to postgreSQL. This book has a concise introduction to relational database theory, then provides syntax for all SQL commands along with variations from 4 vendors. If the pattern continues, we may end up switching database vendors again in the future, so we are trying to write SQL that works on as many databases as possible. This book provides the necessary information to do so. I would not want to work on a project involving SQL again without it.
SQL in a Nutshell Review, January 29 2001





Not O'Reilly's best effort.
There is little meat to the descriptions of the vendor-specific SQL variants. Specially, I expected to see details on the differences between Sybase/Microsoft data types, functions and their Oracle counterparts. Or how PostgreSQL and MySQL syntax differ. Sure, there are tables and tables of syntax, but no context or descriptions of how each vendor implements the same type or function; how they are the same; how they are different. Since each vendor already provides a reasonable set of card-oriented, one-page documentation, this volume seems to fill no specific niche nor perform any really useful function, unlike most of the "Nutshell" books.
There are no tricks or tips to speak of. When they are mentioned, there are no specifics given for how or why.
Overall, this book was very disappointing, especially in light of the VERY STRONG effort put forward in "Transact SQL Programming" book by the same author and publisher. While that volume provides no specific information on MySQL or Oracle, neither does "SQL in a Nutshell". Further, "Transact SQL Programming" is just plain a better SQL book, overall.
Media reviews
"Every DBA should have a good book on SQL...Kline's book is a great reference book for SQL syntax and covers SQL Server, Oracle, MySQL, and PostreSQL."
--Craig S. Mullins, "Database Trends and Applications," September 2003
"An invaluable desktop reference for those who deal with SQL at a professional level. Compact and well designed."
--Major Keary, PC Update March 2002
"an invaluable desktop reference for those who deal with SQL at a professional level."
--Major Keary, Book News Dec 2001
About O'Reilly | Contact | Jobs | Press Room | How to Advertise | Privacy Policy
© 2008, O'Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.