SQL Pocket Guide

  Author:    Jonathan Gennick
  ISBN:    0596526881
  Sales Rank:    10286
  Published:    2006-04-01
  Publisher:    O'Reilly Media, Inc.
  # Pages:    176
  Binding:    Paperback
  Avg. Rating:    5.0 based on 17 reviews
  Used Offers:    15 from $6.00
  Amazon Price:    $10.19
  (Data above last updated:  2008-10-13 08:00:19 EST)
  
  
Sort customer reviews by:
  
Show All Reviews on Page      Hide All Reviews on Page
   
  
SQL Pocket Guide
  

SQL is the language of databases. It's used to create and maintain database objects, place data into those objects, query the data, modify the data, and, finally, delete data that is no longer needed. Databases lie at the heart of many, if not most business applications. Chances are very good that if you're involved with software development, you're using SQL to some degree. And if you're using SQL, you should own a good reference or two.

Now available in an updated second edition, our very popular SQL Pocket Guide is a major help to programmers, database administrators, and everyone who uses SQL in their day-to-day work. The SQL Pocket Guide is a concise reference to frequently used SQL statements and commonly used SQL functions. Not just an endless collection of syntax diagrams, this portable guide addresses the language's complexity head on and leads by example. The information in this edition has been updated to reflect the latest versions of the most commonly used SQL variants including:

  • Oracle Database 10g, Release 2 (including the free Oracle Database 10g Express Edition (XE))
  • Microsoft SQL Server 2005
  • MySQL 5
  • IBM DB2 8.2
  • PostreSQL 8.1 database

                  Reader Reviews 1 - 19 of 19                 
  
  
Review
Date
Review
Rating(5 High)
Review
Helpful
to:
Customer Review Reviewer
Info
Permanent
Link
Reader Reviews Below Sorted by Newest First
04-02-08 5 (NA)
(Hide Review...)  SQL
Reviewer Permalink
A comprehensive and detailed SQL reference with sample code and result sets to make the content clear. An excellent pocket guide to take anywhere.
(Review Data Last Updated: 2008-10-10 08:21:36 EST)
02-23-08 5 (NA)
(Hide Review...)  sq reference
Reviewer Permalink
this pocket book is useful in that it touches on command sets from mysql, sql server, and also oracle. this cross platform approach is helpful when learning sql, or if one was to switch from one enterprise level system to the next. this mini book was shipped out in a timely fashion. i can say that the reference available in this book was well worth the moderate expense, as well as the shipping time.
(Review Data Last Updated: 2008-04-03 08:17:45 EST)
11-12-07 5 1\1
(Hide Review...)  Great reference
Reviewer Permalink
I'm writing a review because of how impressed I've become with this over time. I have several SQL references and this gets used by far the most. I'm a big O'Reilly fan and I think I bought this title in addition to the Nutshell book because it was cheap and I also wanted multiple SQL reference books so I could have some at home as well as the office.

I at first assumed that the Pocket guide would be inferior to the Nutshell book but I've found the reverse to be true for me. The strengths of this book are passages are always straight to the point, with tons of examples, and ALWAYS is very clear on relevant differences between different flavors of SQL (DB2, Oracle, SQL Server, & MySQL) without any blah blah blah.

For knuckleheads who have worked in so many languages that they can't remember any syntax anymore, and who prefer a good terse example to a big syntax tree, this reference is highly recommended.
(Review Data Last Updated: 2008-02-23 15:59:44 EST)
10-20-07 4 (NA)
(Hide Review...)  Great for quick answers to common questions
Reviewer Permalink
I love this little book since I work with many RDBMs and need use different syntaxes to accomplish the same thing. That's what this reference is good for - to remind you of material that you've forgotten.
(Review Data Last Updated: 2007-11-13 12:13:55 EST)
05-15-07 5 (NA)
(Hide Review...)  Very nice for remember details
Reviewer Permalink
This book is the best form of remember SQLScript by engine details and lexical diference; I'm using Oracle v7, v8, v10 and SQLServer in my job; and mySQL and Oracle v10 in my own SOHO applications.
(Review Data Last Updated: 2007-10-20 21:05:15 EST)
08-01-06 5 0\1
(Hide Review...)  Excellent Pocket Reference
Reviewer Permalink
Out of my several books on SQL, this is the one that I use most often. I find it most useful as it is very easy to use and has a good coverage on the subject. The keywords index is invaluable for finding the right information in the book.

The pocket guide covers syntax differences between SQL, MySQL and Oracle and provide comprehensive explanations to various properties.

Highly recommended for anyone working with SQL and/or MySQL.
(Review Data Last Updated: 2007-07-09 21:05:13 EST)
05-08-06 5 6\6
(Hide Review...)  This one deserves a spot in your bag
Reviewer Permalink
The SQL Pocket Guide: 2nd Edition "is an attempt to cram the most useful information about SQL into a pocket-size guide." That's the first sentence of the introduction and is the best description I can imagine for this helpful little book. The following platforms are included in this 2nd edition: Oracle Database 10g Release 2 (including Oracle Express Edition,) IBM DB2 Universal Database Release 8.2, Microsoft SQL Server 2005, MySQL 5.0, and PostgreSQL 8.1.

I'm not a full-time DBA. I'm an application developer and I frequently interact with various flavors of relational databases. I confess, I don't have all the syntax memorized. That's why this little book is so helpful. The book has good coverage of DML, common SQL functions and other related topics (e.g. NULLs, CASE expressions, datatype conversions, etc.) And, each topic is covered for each of the platforms mentioned above. It makes for an interesting comparison. The table of contents is organized nicely to allow the reader to quickly locate content by subject and there is also a detailed index in the back.

The 2nd edition of this book was published in April 2006. When you read reviews of the SQL Pocket Guide, make sure you are reading a review of the current edition. The 2nd edition has been updated for more current database releases. And, CREATE TABLE coverage and window functions have been added. Many of the changes were in direct response to feedback from the first edition.

As mentioned in other reviews, this book is not going to teach you SQL. It wasn't intended to. However, if you find that you're frequently (or even occasionally) looking up SQL syntax and if you need to create SQL statements that work with one or more of the platforms covered in this book, I highly recommend that you give this little helper a place in your bag.
(Review Data Last Updated: 2007-07-09 21:05:13 EST)
05-07-06 5 4\4
(Hide Review...)  This one deserves a spot in your bag
Reviewer Permalink
The SQL Pocket Guide: 2nd Edition "is an attempt to cram the most useful information about SQL into a pocket-size guide." That's the first sentence of the introduction and is the best description I can imagine for this helpful little book. The following platforms are included in this 2nd edition: Oracle Database 10g Release 2 (including Oracle Express Edition,) IBM DB2 Universal Database Release 8.2, Microsoft SQL Server 2005, MySQL 5.0, and PostgreSQL 8.1.

I'm not a full-time DBA. I'm an application developer and I frequently interact with various flavors of relational databases. I confess, I don't have all the syntax memorized. That's why this little book is so helpful. The book has good coverage of DML, common SQL functions and other related topics (e.g. NULLs, CASE expressions, datatype conversions, etc.) And, each topic is covered for each of the platforms mentioned above. It makes for an interesting comparison. The table of contents is organized nicely to allow the reader to quickly locate content by subject and there is also a detailed index in the back.

The 2nd edition of this book was published in April 2006. When you read reviews of the SQL Pocket Guide, make sure you are reading a review of the current edition. The 2nd edition has been updated for more current database releases. And, CREATE TABLE coverage and window functions have been added. Many of the changes were in direct response to feedback from the first edition.

As mentioned in other reviews, this book is not going to teach you SQL. It wasn't intended to. However, if you find that you're frequently (or even occasionally) looking up SQL syntax and if you need to create SQL statements that work with one or more of the platforms covered in this book, I highly recommend that you give this little helper a place in your bag.
(Review Data Last Updated: 2007-03-03 00:01:06 EST)
01-26-06 5 1\1
(Hide Review...)  SQL Pocket Guide (Paperback)
Reviewer Permalink
I have used this book often since I purchased it. It was worth the money that I paid for it. Very useful book because we can not keep every bit of SQL syntax on our heads. Especially for those of us that deal with different databases. I would recommend this book to my fellow Programmers/Developers. Thank you.
(Review Data Last Updated: 2007-07-09 21:05:13 EST)
01-25-06 5 1\1
(Hide Review...)  SQL Pocket Guide (Paperback)
Reviewer Permalink
I have used this book often since I purchased it. It was worth the money that I paid for it. Very useful book because we can not keep every bit of SQL syntax on our heads. Especially for those of us that deal with different databases. I would recommend this book to my fellow Programmers/Developers. Thank you.
(Review Data Last Updated: 2007-03-03 00:01:06 EST)
10-12-05 4 1\4
(Hide Review...)  One flaw though
Reviewer Permalink
I must warn those who plan to get this little book. It doesn't tell you how to create tables but only how to use them. And a list of datatypes would have been nice. But it's ok.
(Review Data Last Updated: 2007-07-09 21:05:13 EST)
08-24-05 5 2\2
(Hide Review...)  Great for: How does that work again?
Reviewer Permalink
I keep this book with me going from home to work and use it on a regular basis. It's is perfect for answering those "How does that work again?" questions. The clarity with which differences between SQL Server, MySQL, and Oracle do things is a huge help in answering platform specific questions. It has enabled me to hand write SQL queries I never would have attempted before.
(Review Data Last Updated: 2007-07-09 16:33:36 EST)
07-01-05 5 3\3
(Hide Review...)  Excellent LITTLE Book
Reviewer Permalink
This is an excellent LITTLE book. With books from O'Reilly or Wiley, you can usually rest assured that it is worth your money. This one certainly is. I bought two -- one for work and one for home. I also bought "SQL in a Nutshell" which is more extensive but much larger (but not a tome). For those quick now-how-do-I-write-that-stupid-little-sql-statement moments, this is the ticket.
(Review Data Last Updated: 2007-03-03 00:01:06 EST)
06-02-05 5 3\3
(Hide Review...)  Great as a quick reference
Reviewer Permalink
This book has been a lifesaver on many occasions. It gives you a syntax comparison between the major database vendors, and really, it would save you what can possibly be many hours of searching for an equivalent function when using a database you are not familiar with.

The content page is nicely grouped by SQL functionality; e.g. Literals, Joining Tables, Datatype Conversion etc. It was quite easy for me to look for the information I wanted.

It's also good for users who are learning databases in general; it gives quite a good overview of SQL functionalities.

Even if you're not working with multiple databases from multiple vendors, it makes a great SQL reference book.
(Review Data Last Updated: 2006-07-07 10:41:18 EST)
02-16-05 5 (NA)
(Hide Review...)  Great desk reference book
Reviewer Permalink
DB2 was completely new to me about 6 months ago and this book has helped me to learn the ins and outs of SQL in DB2. It is broken down as a reference guide and I find the majority of the commands very quickly. To be honest I have not read the book cover to cover because it is just so quick to find exactly what I need. The examples are great and with the explanations I have been able to successfully write and execute every command I have found in the book. Great desk reference book I use it every week.
(Review Data Last Updated: 2006-07-07 10:41:18 EST)
11-20-04 3 15\15
(Hide Review...)  Not Bad, not Great
Reviewer Permalink
Its a pocket guide on just the data manipulation components of the SQL language for the 4 major versions (Oracle, MySQL, MS SQL and DB2) - you can't judge this as a complete reference or learning guide. As SQL data manipulation has only a finite set of keywords and a fairly strict syntax, its hard to go wrong. Like most pocket guides, only people that already know the topic should purchase. As this title only covers data manipulation and not definition language control language (for example, page 112 does list the CREATE TABLE keywords, but as a secondary example and not a true reference), if you are looking for a complete reference guide to all things SQL, this is not your title.

The biggest problem I had with this book is it's organization and layout. Unlike other keyword guides that organize keyword references alphabetically, any time you need to refresh your memory on a specific keyword you have to find it first in the back index as this guide organizes by topic (Inserting Tables, Deleting Data, Predicates, etc.). The topic-oriented structure would be better served in a learning text, or as a secondary table of content for a larger reference guide. Once you do find your keyword's page, the actual layout of the text can make it difficult to quickly identify the topic, keyword, and target vendor. If you're going to run everything together in very similar font sizes and weights without a page break, a few horizontal lines and inverse text won't kill you.

Definitely a useful reference book if you're on the go and need to carry a reminder with you, but as a day to day desktop reference, there are other guides which provide more complete reference as well as better formatting.
(Review Data Last Updated: 2006-07-07 10:41:18 EST)
06-11-04 5 3\3
(Hide Review...)  The little book you keep on your desk.
Reviewer Permalink
Most people that work in SQL daily, don't need reminders of how to write join, correlate or update queries. But the other 10% of the work you do is where you run into trouble. You know you can do something, you just need to know the syntax. This little gem fills that bill nicely. Concise, clear and with a good index, SQL Pocket Guide gives you what you need. Complex functions are explained and it covers DB2, Oracle, SQL Server and MySQL with good depth. Indispensible.
(Review Data Last Updated: 2006-07-07 10:41:18 EST)
05-21-04 4 7\7
(Hide Review...)  DML short reference for ORACLE, DB2, SQL Server and MySQL
Reviewer Permalink
"SQL Pocket Guide" is a short reference book for SQL DML (Data Manipulation Language = insert, update, delete, select verbs) and derived statements (merge in ORACLE, replace in MySQL is missing) for the following databases:
- ORACLE (9i und 10g)
- DB2
- SQL Server
- MySQL
Jonathan Gennick explains the ANSI SQL commands and the special implementations of the different databases. For every statement you will find at least one example that can be tested on Jonathan's example data (available from the O'Reilly website). This book does NOT describe the DDL (e.g. create table) or DCL (e.g. grant) statements of the respective databases. Maybe this book should have been named "SQL (DML) pocket guide" to avoid different expectations.

Being an ORACLE person, I can not comment much on the correctness of the information about the other databases, however I found it quite interesting to see the comparison (ORACLE seems to implement most options).

I found the organization of the book a bit strange when I read it from cover to back (I would have placed type conversions and literals together). If you are using this book as a reference this should not concern you because I found the index to be very good. A chapter numbering (or bigger differences in the font size for the chapter levels) would have made it easier for me to keep track of the subchapter level while reading.

The coverage of the DML statement's possibilities is quite high and lots of exceptions are covered. I (re)learned a lot of things like WITH in ORACLE, NVL2, CASE statement, RETURNING with UPDATE, INSERT und DELETE when I read this book.

I will continue to use this book as a starting point when I don't remember how to use a certain SQL/DML feature (reference lookup). "SQL Pocket Reference" already saved a colleague of mine valuable hours (because I just reread about the MERGE statement). You will not be able to learn SQL with this book but you will probably save some time with it, if you write DML a lot.

(Review Data Last Updated: 2006-07-07 10:41:18 EST)
04-22-04 3 6\9
(Hide Review...)  Great, but not what I was looking for.
Reviewer Permalink
First: The signal to noise ratio in this book is wonderful. There's a vast amount of information packed into this little volume.

Second: A significant portion of it has to do with interoperability between database vendors, the differences in syntactic sugar between Oracle/DB2/SQL Server & MySql really don't interest me all that much.

Third: There is nary a word in here about DDL. Nothing on creating/dropping tables, indices & keys, views, databases.

Fourth: Nor is there any treatment on user access (granting permissions, etc.)

Fifth: Selects/Joins/updates/deletes, etc. Are all very thoroughly covered.

These are all things I expect a "SQL Pocket Guide" to have. Instead this is more of a "SQL Interoperability Guide".

Conclusion? This is a great little book if you are not a DBA and never take on the role of one.

(Review Data Last Updated: 2006-05-07 12:12:12 EST)
  
                  Reader Reviews 1 - 19 of 19                 
  
  
  
  
  
  

Because the data used to generate this site come from outside sources, VeryWellSaid.com cannot guarantee the completeness or accuracy of the data.
Search VeryWellSaid™
Google
Web VeryWellSaid™
New subjects are added every week.
View Subjects Below by:
* Top Selling
 (click category name, left)
* Top-Rated Top Sellers
 (click 'Top Rated', right)
In the news...  
Dubai\UAE Top Rated
Influenza\Bird Flu Top Rated
Iraq Top Rated
Supreme Court Top Rated
All Books Top Rated
Arts Top Rated
Photography Top Rated
Digital Photography Top Rated
Digital Cameras Top Rated
Biography Top Rated
Business Top Rated
Management Top Rated
Marketing Top Rated
Sales Top Rated
Stocks Top Rated
Bonds Top Rated
Real Estate Top Rated
Trading Top Rated
Commodities Trading Top Rated
Time Management Top Rated
Starting A Business Top Rated
Children's Top Rated
Comics Top Rated
Computers Top Rated
PC Top Rated
Mac Top Rated
Programming Top Rated
Design Patterns Top Rated
.Net Top Rated
C# Top Rated
Vb.Net Top Rated
Asp.Net Top Rated
Java Top Rated
Python Top Rated
PHP Top Rated
Perl Top Rated
Javascript Top Rated
Ajax Top Rated
CSS Top Rated
Open Source Top Rated
SQL Top Rated
Databases Top Rated
Oracle Top Rated
MySql Top Rated
Sql Server Top Rated
IIS Top Rated
Apache Top Rated
Linux Top Rated
Windows Server Top Rated
Project Management Top Rated
HTML Top Rated
UML Top Rated
IT Certifications Top Rated
Cisco Certifications Top Rated
MCSE Top Rated
MCSD Top Rated
Cooking Top Rated
Italian Cooking Top Rated
Vegetarian Cooking Top Rated
Wine Top Rated
Engineering Top Rated
Entertainment Top Rated
Health Top Rated
Nutrition Top Rated
Dieting Top Rated
Sex Top Rated
History Top Rated
Military History Top Rated
British History Top Rated
Middle East History Top Rated
Land Battles Top Rated
Naval Warfare Top Rated
Air Warfare Top Rated
9/11 Top Rated
Terrorism Top Rated
Home Top Rated
Mortgage\Home Equity Loan Top Rated
Cars Top Rated
Car Buying Top Rated
Sports Cars Top Rated
Cat Top Rated
Humor Top Rated
Horror Top Rated
Law Top Rated
IP Law Top Rated
Legal History Top Rated
Fiction Top Rated
Oprah's Book Club Top Rated
Medicine Top Rated
Cancer Top Rated
Stroke Top Rated
Heart Disease Top Rated
Fertility Top Rated
Diabetes Top Rated
Pharmacology Top Rated
Back Problems Top Rated
Menopause Top Rated
Thyroid Top Rated
Pain Top Rated
Organic Chemistry Top Rated
Immune System Top Rated
Mystery Top Rated
Nonfiction Top Rated
Outdoors Top Rated
Running Top Rated
Radio Control Models Top Rated
Guns Top Rated
Parenting Top Rated
Divorce Top Rated
Professional Top Rated
Reference Top Rated
Religion Top Rated
Romance Top Rated
Science Top Rated
Physics Top Rated
Chemistry Top Rated
Astronomy Top Rated
Psychology Top Rated
Science Fiction Top Rated
Sports Top Rated
Teens Top Rated
Travel Top Rated
USA Top Rated
Europe Top Rated
France Top Rated
Italy Top Rated
England Top Rated
China Top Rated
All Books Arts Biography Click Here For An A-Z Index Of All 213 Best-Seller Subjects Business Children's Comics
Computers Cooking Engineering Entertainment Health History Home Horror Humor Law Fiction Medicine Mystery
Nonfiction Outdoors Parenting Professional Reference Religion Romance Science Sci-Fi Sports Teens Travel
In Association with Amazon.com

Cache miss
(not cached)