"This little collection of puzzles is something to bash your head against while awaiting your SQL epiphany."
In this complete revision and expansion of his first "SQL Puzzles" book, Joe Celko challenges you with his trickiest puzzles and then helps solve them with a variety of solutions and explanations. Joe demonstrates the thought processes that are involved in attacking a problem from an SQL perspective to help advanced database programmers solve the puzzles you frequently face. These techniques not only help with the puzzle at hand, but help develop the mindset needed to solve the many difficult SQL puzzles you face every day. Of course, part of the fun is to see whether or not you can write better solutions than Joes.This book is a great collection of tricky SQL puzzles with a variety of solutions and explanations as it uses the proven format of puzzles and solutions to provide a user-friendly, practical look into SQL programming problems - many of which will help users solve their own problems. The new edition features: many new puzzles; dozens of new solutions to puzzles; using features in SQL-99 Code (edited to conform to SQL STYLE rules); new chapter on temporal query puzzles; and, new chapter on common misconceptions about SQL and RDBMS that leads to problems.