Topic: Best SQL book

Rails is great and takes care of a lot of the nasty SQL, but I still need a solid refresher to really understand some more of the complex queries. Any recommendations on books?

Re: Best SQL book

ps - obviously great list here: http://www.amazon.com/s/ref=nb_ss_gw?ur … =0&y=0

I would also consider myself on the lower end of the intermediate scale.

all opinions appreciated.

Re: Best SQL book

Thanks for the posting, It is really helpful to me. Your post is very interesting and I teach something new over here. Nice information.

My heartiest thanks.

Re: Best SQL book

Pragmatic Bookshelf a new book (now in beta): "SQL Antipatterns: Avoiding the Pitfalls of Database Programming"
http://pragprog.com/titles/bksqla/sql-antipatterns

Haven't read id but looks interesting.