views:

122

answers:

4

I know SQL but wanted to master it for use in complex SQL and try to create complex SQL statement in one query. Any book to recommend. I found this book: SQL Design Patterns by Vadim Tropashko. What do you folks suggest?

+5  A: 

SQL for Smarties by Joe Celko. I like the way it covers methods for representing datasets that you'd not immediately think would fit into a relational model.

alt text

teabot
+1. Gonna have to go find this one.
Bob Jarvis
+1  A: 

If you're talking SQL Server, the series of SQL books by Solid Quality Mentors are well worth a read.

I personally can recommend:
Inside Microsoft SQL Server 2005: T-SQL Programming
Inside Microsoft SQL Server 2005: T-SQL Querying
Inside Microsoft SQL Server 2005: Query Tuning and Optimization

I think they're a great set to have on your bookcase.

AdaTheDev
+1  A: 

for T-SQL, take a look at look at books by Itzik Ben-Gan:

http://www.solidq.com/insidetsql/

davek
+1  A: 

+1 for Joe Celko

also, for sql server The Gurus guide to transact sql

cindi