Joe Celko's SQL for smarties advanced SQL programming - Celko, Joe (Elsevier; Morgan Kauffman, 2005)