SQL in a Nutshell (In a Nutshell (O'Reilly)) and over one million other books are available for Amazon Kindle. Learn more



or
Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $3.75 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Start reading SQL in a Nutshell (In a Nutshell (O'Reilly)) on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

SQL in a Nutshell (In a Nutshell (O'Reilly)) [Paperback]

Kevin Kline , Brand Hunt , Daniel Kline
3.8 out of 5 stars  See all reviews (47 customer reviews)

List Price: $44.99
Price: $28.71 & FREE Shipping. Details
You Save: $16.28 (36%)
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 Tuesday, May 21? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Kindle Edition $19.79  
Hardcover --  
Paperback $28.71  
Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

December 2, 2008 0596518846 978-0596518844 Third Edition

For programmers, analysts, and database administrators, SQL in a Nutshell is the essential reference for the SQL language used in today's most popular database products. This new edition clearly documents every SQL command according to the latest ANSI standard, and details how those commands are implemented in Microsoft SQL Server 2008, Oracle 11g, and the MySQL 5.1 and PostgreSQL 8.3 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. This book provides:

  • 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 SQL2003 ANSI standard
  • The implementation of each command by MySQL, Oracle, PostgreSQL, and SQL Server
  • An alphabetical reference of the ANSI SQL2003 functions, as well as the vendor implementations
  • Platform-specific functions unique to each implementation

Beginning where vendor documentation ends, SQL in a Nutshell distills the experiences of professional database administrators and developers who have used SQL variants to support complex enterprise applications. Whether SQL is new to you, or you've been using SQL since its earliest days, you'll get lots of new tips and techniques in this book.


Frequently Bought Together

SQL in a Nutshell (In a Nutshell (O'Reilly)) + Learning SQL + SQL Cookbook (Cookbooks (O'Reilly))
Price for all three: $75.66

Buy the selected items together


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 out of print or unavailable edition of this title.

About the Author

Kevin Kline is the Director of SQL Server Solutions at Quest Software, a leading provider of award winning tools for database management and application monitoring on the SQL Server platform. Kevin is also the President of the international Professional Association for SQL Server (PASS) and frequently contributes to database technology magazines, web sites, and discussion forums. Kevin's most popular book is SQL in a Nutshell published by O'Reilly Media. Kevin is also the author of Transact-SQL Programming and three other books on database technologies. Kevin is a top rated speaker, appearing at international conferences like Microsoft TechEd, DevTeach, PASS, Microsoft IT Forum, and SQL Connections. When he's not working, Kevin likes to romance his wife, play to his four kids, write, and garden.

Brand Hunt is a Project Manager and Software Developer at Systems Research and Development (http://srdsoftware.com). The team at SRD is a world leader in systems for privacy-friendly identity recognition and relationship awareness. Prior to SRD, Brand worked at Rogue Wave software. Beyond work, Brand enjoys playing board games, pinochle, and snowboarding with his family and friends.

Daniel T. Kline (Ph.D., Indiana University, 1997) specializes Middle English literature and culture; Chaucer; literary and cultural theory; critical pedagogy; and digital medievalism. Among others, his publications include essays in Chaucer Review, College Literature, Comparative Drama, the Journal of English and Germanic Philology, Philological Quarterly, and Literary and Linguistic Computing, and recent chapters in the Cambridge Companion to Medieval Women (Cambridge, 2003), Translating Desire in Medieval and Early Modern Literature (MRTS, 2005), Mass Market Medievalism (McFarland, 2007), Essays on Medieval Childhood: Responses to Recent Debates (Shaun Tyas, 2007), and Cultural Studies of the Modern Middle Ages (Palgrave, 2007). He edited Medieval Children's Literature (Routledge, 2003) and is co-editing The Medieval in Motion, a volume on contemporary film, TV, and videogame neo-medievalism. His current research concerns children, violence, and sacrifice in late-medieval England, and he has essays forthcoming on Emmanuel Levinas and medieval drama and the apocryphal Infancy of Jesus Christ in MS Laud 108. Prof. Kline is an Associate Professor of English and Chair of the Graduate Program in English at the University of Alaska Anchorage. He is also the author/webmaster of The Electronic Canterbury Tales .


Product Details

  • Paperback: 594 pages
  • Publisher: O'Reilly Media; Third Edition edition (December 2, 2008)
  • Language: English
  • ISBN-10: 0596518846
  • ISBN-13: 978-0596518844
  • Product Dimensions: 6.1 x 1.2 x 9 inches
  • Shipping Weight: 1.4 pounds (View shipping rates and policies)
  • Average Customer Review: 3.8 out of 5 stars  See all reviews (47 customer reviews)
  • Amazon Best Sellers Rank: #93,605 in Books (See Top 100 in Books)

More About the Authors

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

Customer Reviews

Most Helpful Customer Reviews
66 of 68 people found the following review helpful
5.0 out of 5 stars What the book is, and what it is not. May 8, 2003
Format:Paperback
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.

Was this review helpful to you?
41 of 46 people found the following review helpful
4.0 out of 5 stars Great Overview,Light on Details January 9, 2001
Format:Paperback
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 | 
Was this review helpful to you?
18 of 19 people found the following review helpful
5.0 out of 5 stars Expanded 2nd Edition (more than 3x larger!) October 11, 2004
Format:Paperback
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.
Was this review helpful to you?
Most Recent Customer Reviews
3.0 out of 5 stars This more like SQL dictionary
This book is more like SQL dictionary. Nice comparison of major SQL dialects, but not many samples and hard to read (function grouped not by use but go in a-z order.
Published 4 hours ago by Maxim Kazitov
4.0 out of 5 stars Ask Felgall - Book Review
Obviously I didn't sit down and read this book from cover to cover as doing so would have been extremely boring. Read more
Published 17 months ago by Stephen Chapman
4.0 out of 5 stars Nice reference but not complete
I like using this as a desk reference. Although I do have to agree with a previous reviewer who mentioned the examples are a little light. Read more
Published on March 17, 2011 by M. Johnson
3.0 out of 5 stars Disappointing
I purchased this book because I work with several different database platforms, and I wanted a thorough reference that covered the syntax differences between platforms. Read more
Published on July 13, 2010 by Klauserator
3.0 out of 5 stars Good, for the right reader
That reader wants to use every bell and whistle available, to the the absolute max that the query language has to offer. Read more
Published on May 30, 2010 by wiredweird
4.0 out of 5 stars Helpful SQL guide regardless of DB vendor
I have a soft spot in my heart for O'Reilly Media. I was first introduced to O'Reilly, aka "the animal books" many years ago in college. Read more
Published on May 27, 2010 by Dallas Marks
4.0 out of 5 stars Excellent reference for the database user
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. Read more
Published on January 11, 2010 by Andy
3.0 out of 5 stars Found something missing, what is missing that I don't know about?
I'm studying SQL intensively for work and needed an up-to-date reference, so bought this book, relying on the O'Reilly reputation for good books. Read more
Published on December 29, 2009 by David Bakin
5.0 out of 5 stars This is a great reference for DB admins, especially if they use DBs...
I am reviewing the third edition.

This book is intended as a reference, not an instructional text. It serves this purpose well with pages and pages of great examples. Read more
Published on May 30, 2009 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 on May 20, 2009 by Paul A. Hernandez
Search Customer Reviews
Only search this product's reviews

What Other Items Do Customers Buy After Viewing This Item?


Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



So You'd Like to...


Create a guide


Look for Similar Items by Category