Databases

  1. Home
  2. Computing & Technology
  3. Databases

SQL Cookbook

About.com Rating five out of Five

By Mike Chapple, About.com

The Bottom Line

This book belongs on the bookshelf of every SQL developer. It's an incredible reference for those times when you're wondering "Now, how do I write a SQL statement that will do that?" It's clearly written and organized in a fashion that facilitates finding quick answers to common problems.
Pros
  • Offers solutions to problems in 14 categories
  • Provides support for SQL Server, PostgreSQL, Oracle, MySQL and DB2
  • Clearly written with discussion of each problem and solution
Cons
  • No CD of cut-and-paste content

Description

  • Great solutions to common SQL problems with full discussions of rationale and performance issues.
  • Comprehensive look at the problems facing developers and those writing ad hoc queries.
  • Allows the easy selection of a solution appropriate for your database platform.

Guide Review - SQL Cookbook

O'Reilly's SQL Cookbook by Anthony Molinaro is the best reference I've seen for skilled SQL developers. Modeled after a true cookbook, it offers many short snippets of SQL code designed to solve specific problems. You can pick and choose the ingredients you need to help complete your SQL project.

Each item in the cookbook is clearly explained in a Problem/Solution/Discussion format. Molinaro offers different solutions for each of the database platforms supported by the book (SQL Server, PostgreSQL, Oracle, MySQL and DB2) and points out platform deficiencies where they exist.

The solutions themselves are organized into 14 categories:
  • Retrieving Records
  • Sorting Query Results
  • Working with Multiple Tables
  • Inserting, Updating, Deleting
  • Metadata Queries
  • Working with Strings
  • Working with Numbers
  • Date Arithmetic
  • Date Manipulation
  • Working with Ranges
  • Advanced Searching
  • Reporting and Warehousing
  • Hierarchical Queries
  • Odds 'n' Ends
My only complaint? There's no CD included with the book, so you're on your own retyping the content into your development environment.
Compare Prices
User Reviews Write Review

Explore Databases

About.com Special Features

Databases

  1. Home
  2. Computing & Technology
  3. Databases
  4. Learning SQL
  5. Book Review: SQL Cookbook

©2009 About.com, a part of The New York Times Company.

All rights reserved.