Andrew Cumming

Programmer and teacher

Edinburgh, Scotland

Areas of Expertise:

  • SQL
  • Web Development
  • Database
  • consulting
  • programming
  • writing
Andrew Cumming is the Zoo Keeper at He keeps a collection of tame SQL engines and presents these to the public. He cares for these beasts, protecting them from the abuse inflicted by SQL learners, and protecting SQL learners from the injuries that the wild engines can inflict. But mostly he shovels manure out the cages and hoses them down every now and then. Andrew also teaches at Napier University in Edinburgh, Scotland.

SQL Hacks SQL Hacks
by Andrew Cumming, Gordon Russell
November 2006
Print: $29.99
Ebook: $23.99

"SQL Hacks fits well in the Hacks series, which raises the bar on advanced books by offering large, eclectic sets of tricks for problems that an unambitious person (a non-hacker) wouldn't ever push technology hard enough to run into."
--Scott Walters,

"I have not had this much fun with SQL queries till I started reading and experimenting with SQL Hacks. SQL is often taken much for granted and this books helps explore different ways of approaching SQL queries. The different DBMS vendors have their unique flavor of SQL which SQL Hacks admiringly encompasses. This book is a great reference/tutorial for readers with differing backgrounds except for the most experienced DBAs. "
--Hari Mailvaganam,