This book is not much about SQL, but more about Microsoft’s tools for data ‘mining’, ‘warehousing’, OLAP, and such. Learn about the ‘cube’ which can contain denormalized data. The tools provide much more than report formatting. This book is big and heavy, at 750 pages.
SQL for MySQL developers : a comprehensive tutorial and reference / Rick F. van der Lans, Addison-Wesley, 2007
Here is an introduction to MySQL and textbook. It has 1000 pages, and has a practical approach.
LINQ for dummies/ by John Paul Mueller, Wiley, 2008
SQL cookbook / Anthony Molinaro, O’Reilly, 2006
Learn how to write clear, concise SQL by reading good example code. 600 pages.
PHP and MySQL : create-modify-reuse / Tim Boronczyk with Martin E. Psinas, Wiley, 2008
This is a cookbook full of good example code. There is not much introduction, then it jumps in to User Registration, Community Forum, Mailing List, Search Engine, Personal Calendar, Ajax File Manager, Online Photo Album, Shopping Cart, Web Site Statistics and News/Blog System . There is good advice on writing shell scripts. The book ends with a good, clear discussion of security and logging.
Professional Microsoft SQL server 2008 administration / Brian Knight, Wiley, 2009
Here are 850 pages for the experienced admin.