or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
Sorry!
More Buying Choices
42 used & new from $2.72

Have one to sell? Sell yours here
 
   
SQL In A Nutshell, 2nd Edition
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here.
 
  
3.9 out of 5 stars  See all reviews (40 customer reviews)

List Price: $44.95
Price: $32.81 & this item ships for FREE with Super Saver Shipping. Details
You Save: $12.14 (27%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Tuesday, November 10? Choose One-Day Shipping at checkout. Details
21 new from $2.78 21 used from $2.72

Formats

Amazon Price New from Used from
  Hardcover, November 30, 2000 -- -- --
  Paperback, October 31, 2008 $29.69 $23.69 $18.18
  Paperback, September 24, 2004 $32.81 $2.78 $2.72
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Best Value

Buy SQL Hacks and get SQL In A Nutshell, 2nd Edition at an additional 5% off Amazon.com's everyday low price.

SQL Hacks + SQL In A Nutshell, 2nd Edition
Buy Together Today: $50.96

Show availability and shipping details

  • SQL Hacks

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • This item: SQL In A Nutshell, 2nd Edition

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought

SQL Pocket Guide (Pocket Reference (O'Reilly))

SQL Pocket Guide (Pocket Reference (O'Reilly))

by Jonathan Gennick
4.6 out of 5 stars (21)  $10.19
SQL Cookbook (Cookbooks (O'Reilly))

SQL Cookbook (Cookbooks (O'Reilly))

by Anthony Molinaro
4.7 out of 5 stars (45)  $26.37
Learning SQL

Learning SQL

by Alan Beaulieu
4.4 out of 5 stars (28)  $26.39
XML in a Nutshell, Third Edition

XML in a Nutshell, Third Edition

by Elliotte Rusty Harold
4.2 out of 5 stars (16)  $26.37
SQL Queries for Mere Mortals(R): A Hands-On Guide to Data Manipulation in SQL (2nd Edition)

SQL Queries for Mere Mortals(R): A Hands-On Guide to Data Manipulation in SQL (2nd Edition)

by John L. Viescas
3.9 out of 5 stars (9)  $42.89
Explore similar items

Editorial Reviews

Amazon.com Review

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. --This text refers to an alternate Paperback edition.



Product Description

SQL in a Nutshell applies the eminently useful "Nutshell" format to Structured Query Language (SQL), the elegant--but complex--descriptive language that is used to create and manipulate large stores of data. For SQL programmers, analysts, and database administrators, the new second edition of SQL in a Nutshell is the essential date language reference for the world's top SQL database products. SQL in a Nutshell is a lean, focused, and thoroughly comprehensive reference for those who live in a deadline-driven world.

This invaluable desktop quick reference drills down and documents every SQL command and how to use it in both commercial (Oracle, DB2, and Microsoft SQL Server) and open source implementations (PostgreSQL, and MySQL). It describes every command and reference and includes the command syntax (by vendor, if the syntax differs across implementations), a clear description, and practical examples that illustrate important concepts and uses. And it also explains how the leading commercial and open sources database product implement SQL. This wealth of information is packed into a succinct, comprehensive, and extraordinarily easy-to-use format that covers the SQL syntax of no less than 4 different databases.

When you need fast, accurate, detailed, and up-to-date SQL information, SQL in a Nutshell, Second Edition will be the quick reference you'll reach for every time. SQL in a Nutshell is small enough to keep by your keyboard, and concise (as well as clearly organized) enough that you can look up the syntax you need quickly without having to wade through a lot of useless fluff. You won't want to work on a project involving SQL without it.


Product Details

  • Paperback: 700 pages
  • Publisher: O'Reilly Media; 2 edition (September 24, 2004)
  • Language: English
  • ISBN-10: 0596004818
  • ISBN-13: 978-0596004811
  • Product Dimensions: 8.9 x 6 x 1.2 inches
  • Shipping Weight: 1.8 pounds (View shipping rates and policies)
  • Average Customer Review: 3.9 out of 5 stars  See all reviews (40 customer reviews)
  • Amazon.com Sales Rank: #429,639 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #97 in  Books > Computers & Internet > Databases > Data Warehousing

More About the Author

Kevin E. Kline
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's Kevin E. Kline Page

Inside This Book (learn more)



What Do Customers Ultimately Buy After Viewing This Item?

SQL In A Nutshell, 2nd Edition
59% buy the item featured on this page:
SQL In A Nutshell, 2nd Edition 3.9 out of 5 stars (40)
$32.81
Learning SQL
13% buy
Learning SQL 4.4 out of 5 stars (28)
$26.39
SQL Cookbook (Cookbooks (O'Reilly))
11% buy
SQL Cookbook (Cookbooks (O'Reilly)) 4.7 out of 5 stars (45)
$26.37
SQL Pocket Guide (Pocket Reference (O'Reilly))
9% buy
SQL Pocket Guide (Pocket Reference (O'Reilly)) 4.6 out of 5 stars (21)
$10.19

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(8)
(2)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

40 Reviews
5 star:
 (15)
4 star:
 (17)
3 star:    (0)
2 star:
 (4)
1 star:
 (4)
 
 
 
 
 
Average Customer Review
3.9 out of 5 stars (40 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
57 of 61 people found the following review helpful:
5.0 out of 5 stars What the book is, and what it is not., May 8, 2003
By Nathan Eady (Galion, Ohio, USA) - See all my reviews
This book is designed as a reference -- the book that you keep
near your workstation after you learn the basics, because you
haven't got everything memorised yet. It's great for that. I
refer to it when I have a question.

But actually I picked up this book with no prior knowledge of
SQL (except that I knew it was for doing database stuff) and
learned enough to get started in a couple of days. The intro
is great for that.

The great thing about this book is that it covers the four
major SQL implementations in a relatively unbiased fashion.
This is nice because if you switch from one to another you
don't have to go looking for a new book. (Otherwise, you
would; as you will see from reading this book, the various
implementations differ considerably and also differ from
the unimplemented standard, which the book also covers.)

This book is not, and is not intended to be, a tutorial for
people who are utterly unfamiliar with the very concept of
a database, but it's okay to be utterly unfamiliar with SQL.

This book also is not a strategy guide for how to plan and
organise your database; this is an _implementation_ book.
As such, it doesn't cover things like deciding which data
to put in which table, when to create another table and
when to create an entirely separate database, or that sort
of thing. What it does tell you is what query syntax you
need to create and interact with your database, your tables,
and the data in your tables. It also explains datatypes,
because they vary considerably between the different SQL
implementations, and table types and the various attributes
(indeces and whatnot).

Additionally, this book is not a security guide. It does
include information about permissions, but only in terms of
the syntax used, not in terms of strategy.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
17 of 18 people found the following review helpful:
5.0 out of 5 stars Expanded 2nd Edition (more than 3x larger!), October 11, 2004
Expanded 2nd Edition (more than 3x larger!)

fyi ... Amazon is including here reviews from both 1st and current 2nd edition. 1st Edition was a "slim" 224 pages (released December 1, 2000 per Amazon). 2nd Edition is 800 pages (released September 27, 2004 per Amazon). From 224 to 800 pages ... hmmm, quite a change!

Per OReilly.com, current 2nd edition covers commercial RDBMS (Oracle, DB2, and Microsoft SQL Server), and open source implementations (PostgreSQL, and MySQL). fyi, 1st edition did not cover DB2.

2nd Edition is updated to use the most current ANSI standard, SQL2003, as the baseline in comparing each of the RDBMS.

Sample chapter available at OReilly.com. Chapter 4, SQL Functions. As PDF, 28 pages.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
38 of 45 people found the following review helpful:
4.0 out of 5 stars Great Overview,Light on Details, January 9, 2001
I have to question whether any of the other reviewers even looked at the table of contents before purchasing this book:

Chapter 1. SQL, Vendor Implementations, and Some History - a general overview of SQL and where it comes from;

Chapter 2. Foundational Concepts - The general theory behind how a sql works;

Chapter 3. SQL Statements Command Reference - "Quick SQL Command Reference";

Chapter 4. SQL Functions - A standard function reference and vendor extensions;

Chapter 5. Unimplemented SQL99 Commands - commands in the sql standard which aren't implemented by vendors (MS, Oracle);

So as to what it says it covers, it does it quite well. Already being quite familiar with SQl, I still found this book to be useful both as a quick reference to commands as well as for a deeper understanding into how SQL works. This book makes an excellent companion to Transact-SQL Programming, also by Oreilly. If you need a complete SQL reference, get Transact-SQL. If you're looking for a background and introduction to SQL, get this book.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars This is a great reference for DB admins, especially if they use DBs from multiple vendors
I am reviewing the third edition.

This book is intended as a reference, not an instructional text. Read more
Published 5 months ago by M. Helmke

5.0 out of 5 stars SQL dummy!
SQL seems like a pretty simple and straightforward language and for the most part it is, until you get into complex queries. Read more
Published 5 months ago by Paul A. Hernandez

4.0 out of 5 stars Interleaved reference manual for MySQL, Oracle, PostgreSQL, MS SQL Server
For me, the value of this book is in its comparison/contrasts of different flavors of SQL syntax.

The third edition covers and compares ANSI (SQL2003), MySQL 5. Read more
Published 6 months ago by Richard C. Yeh

5.0 out of 5 stars A key acquisition for any library catering to professional database administrators and developers
SQL IN A NUTSHELL references the SQL language used in modern database products, and this new edition documents every SQL command according to the latest ANSI standard. Read more
Published 7 months ago by Midwest Book Review

4.0 out of 5 stars Very Good, Sucky index!
While this is a very good reference book and deserves the 4 stars, I continually get frustrated with 1 thing: The index is poor. Read more
Published 10 months ago by Scott P. Stewart

4.0 out of 5 stars An SQL Reference Book
This book covers various "flavors" of SQL, but not all of them. This was a "recommended" reference book for a college-level Introduction to SQL course. Read more
Published on November 4, 2006 by D. Porter

4.0 out of 5 stars Nice Pocket Reference For SQL
This is a nice, quick guide for referencing SQL. This book is not a 900 page behemoth to teach you all the ins and outs of SQL setup and performance tweaking, nor is it a 30 page... Read more
Published on June 9, 2005 by Daniel McKinnon

5.0 out of 5 stars Cross platform syntax reference
This is a solid desk reference for SQL syntax which provides invaluable material on the portability of each type of statement. Read more
Published on November 6, 2004 by Jack D. Herrington

4.0 out of 5 stars Maintaining several SQL implementations?
[A review of the 2nd edition, 2004.]

Perhaps the best virtue of this book is that it spans all the major variants of SQL - db2, Oracle, MySQL, PostgreSQL and... Read more
Published on October 28, 2004 by W Boudville

4.0 out of 5 stars Great reference, but tough to find what you're looking for
I have the 2nd Edition, which is 600+ pages.

The amount of information included is incredible. Read more
Published on October 15, 2004 by E. Wuehler

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   



So You'd Like to...


Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.