Message from Dean - May 8th 2007
I am currently testing out a new version of the APF Bridge Component - If you notice any errors within this demo store please drop me a line.
SQL Cookbook (Cookbooks (O'Reilly))
Current Store: US / World StoreIn association with Amazon.com
UK Store | Canadian Store | French Store | German Store
Books : SQL Cookbook (Cookbooks (O'Reilly))
Prices subject to change.
Dewey Decimal Number: 005.133
EAN: 9780596009762
Edition: 1
ISBN: 0596009763
Label: O'Reilly Media, Inc.
Manufacturer: O'Reilly Media, Inc.
Number Of Items: 1
Number Of Pages: 628
Publication Date: December 16, 2005
Publisher: O'Reilly Media, Inc.
Studio: O'Reilly Media, Inc.
Related Items:
- Learning SQL
- SQL Tuning
- SQL Pocket Guide (Pocket References)
- Sams Teach Yourself SQL in 10 Minutes (3rd Edition)
- The Art of SQL
- see more
- Books > Specialty Stores > Custom Stores > By Publisher > O'Reilly > Programming > General
- Books > Specialty Stores > Custom Stores > By Publisher > O'Reilly > Programming > Oracle & Database Programming
- Books > Specialty Stores > Custom Stores > Qualifying Textbooks > General AAS
- Books > Subjects > Computers & Internet > Databases > Database Management Systems
- Books > Subjects > Computers & Internet > Databases > Specific Databases > MySQL & mSQL
Editorial Review:
Product Description:
You know the rudiments of the SQL query language, yet you feel you aren't taking full advantage of SQL's expressive power. You'd like to learn how to do more work with SQL inside the database before pushing data across the network to your applications. You'd like to take your SQL skills to the next level.
Let's face it, SQL is a deceptively simple language to learn, and many database developers never go far beyond the simple statement: SELECT FROM WHERE . But there is "so" much more you can do with the language. In the "SQL Cookbook," experienced SQL developer Anthony Molinaro shares his favorite SQL techniques and features. You'll learn about:
Window functions, arguably the most significant enhancement to SQL in the past decade. If you're not using these, you're missing out
Powerful, database-specific features such as SQL Server's PIVOT and UNPIVOT operators, Oracle's MODEL clause, and PostgreSQL's very useful GENERATE_SERIES function
Pivoting rows into columns, reverse-pivoting columns into rows, using pivoting to facilitate inter-row calculations, and double-pivoting a result set
"Bucketization," and why you should never use that term in Brooklyn.
How to create histograms, summarize data into buckets, perform aggregations over a moving range of values, generate running-totals and subtotals, and other advanced, data warehousing techniques
The technique of "walking a string," which allows you to use SQL to parse through the characters, words, or delimited elements of a string
Written in O'Reilly's popular Problem/Solution/Discussion style, the "SQL Cookbook" is sure to please. Anthony's credo is: "When it comes down to it, we all go to work, weall have bills to pay, and we all want to go home at a reasonable time and enjoy what's still available of our days." The "SQL Cookbook" moves quickly from problem to solution, saving you time each step of the way.

Rating:
- Helped Me (a SQL Newbie) Deliver Cmplex SQL ReportsI was tasked with deliverying 6 key-performance-indicator (KPI) using SQL and Crystal Reports and an Oracle database. And for three disparate areas in the world (USA, Singapore, and The Netherlands).
Sure, I could write a 'SELECT' statement or perform and 'UPDATE'.
But, I did not know how to approach SQL as being a 'complete' solution for record selection.
The Crystal Reports portion was not too much trouble.
I was using the PL/SQL environment for creating the SQL. Oracle 10g.
Mr. Molinaro's book was instrumental in having me develop what turned out to be some rather complex SQL.
It took awhile to get to use SQL's window functions. But, the author's presentation/explanation made them more than approachable---and quite useful.
I liked the explanations that covered the multiple vendors' database engines.
I will make no pretense of having reached SQL knowledge 'nirvana'--However, there was more than one time where I was out of ... Read More
Rating:
- SQL Tookbox Must-HaveThe thing I like about the O'Reilly 'Cookbook' series is that you may not have to use them for months, but when you need them they are there with the answers. And oftentimes finding the "one answer" that has been eluding you for hours or even days is worth the price of the book.
This book falls into that category. What's really nice is that the author provides solutions for 5(!) different databases. And he does a good job explaining the solutions, making it easy to extrapolate them to solve similar queries.
Rating:
- Useful fast referenceThis book is great for those times when you say "there must be an easier way to do this". It's concise, readable, and easy to find your way around.
I almost never have time to plough through a two-inch thick book to learn a single technology in agonizing detail. More usually I have an immediate problem needing an immediate fix. And this book fills that need. Furthermore since it covers Oracle, Sybase and Sql Server and addresses both similarities and differences between them it's good for those of us who have to bounce between different DBMSs on a daily basis.
Buy this book. You will not regret it.
Rating:
- Good book, but shipped falling apartContent is excellent, with good examples. I was able to solve a prloblem the very first time I used it. The issue I have is more with Amazon in that I ordered this book in a shipment of 4 others, so it was over a month before I cracked this one open. To my dismay, the binding is not glued on and the book is falling apart. Amazon customer service has not even responded to my three emails asking for resolution.
Rating:
- A great book!I am a certified DB2 / Oracle DBA and a programmer. Even though, I can get through some of chapters very fast, I certainly have enjoyed reading it so far. One thing I like the most is to see how a problem is solved in many different databases including DB2, Oracle, MS-SQL, MySQL, and PostSQL!
Demo Store 