T-SQL Window Functions: For data analysis and beyond, 2nd edition

Published by Microsoft Press (October 18, 2019) © 2020

  • Itzik Ben-Gan
Products list
  • Available for purchase from all major ebook resellers, including InformIT.com
Products list

Details

  • A print text
  • Free shipping
  • Also available for purchase as an ebook from all major ebook resellers, including InformIT.com

This product is expected to ship within 3-6 business days for US and 5-10 business days for Canadian customers.

Most T-SQL developers recognize the value of window functions for data analysis calculation. But window functions can do far more than that, and optimizations in recent versions of SQL Server have made them more powerful than ever. In T-SQL Window Functions: For Data Analysis and Beyond, renowned T-SQL expert Itzik Ben-Gan introduces breakthrough techniques for using window functions to handle many common T-SQL querying tasks with unprecedented elegance and power.
Ben-Gan first explains why window functions can often be a far better solution than traditional predicate-based approaches. Next, using extensive code examples, he guides you through each type of window function: Aggregate, Ranking, Distribution and Offset. You’ll find detailed coverage of ordered set functions (including SQL Server 2017’s STRING_AGG); plus an extensive section on optimization. The book concludes with roughly 100 pages of real T-SQL solutions using window function approaches – including techniques invented by the author and available in no other book.
  • Chapter 01: SQL Windowing
  • Chapter 02: A Detailed Look at Window Functions
  • Chapter 03: Ordered Set Functions
  • Chapter 04: Row Pattern Recognition in SQL
  • Chapter 05: Optimization of Window Functions
  • Chapter 06: T-SQL Solutions using Window Functions

Need help? Get in touch