Tackle the toughest set-based querying and query tuning problemsguided by an author team with in-depth, inside knowledge of T-SQL. Deepen your understanding of architecture and internalsand gain practical approaches and advanced techniques to optimize your code's performance. Discover how to: Move from procedural programming to the language of sets and logic Optimize query tuning with a top-down methodology Assess algorithmic complexity to predict performance Compare data-aggregation techniques, including new grouping sets Manage data modificationinsert, delete, update, mergefor performance Write more efficient queries against partitioned tables Work with graphs, trees, hierarchies, and recursive queries PlusUse pure-logic puzzles to sharpen your problem-solving skills