Home > Store

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

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

eBook (Watermarked)

  • Your Price: $25.59
  • List Price: $31.99
  • Estimated Release: Nov 13, 2019
  • Includes EPUB, MOBI, and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    MOBI MOBI The eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

    Adobe Reader PDF The popular standard, used most often with the free Adobe® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

Also available in other formats.

Register your product to gain access to bonus material or receive a coupon.


  • Copyright 2020
  • Edition: 2nd
  • eBook (Watermarked)
  • ISBN-10: 0-13-586154-3
  • ISBN-13: 978-0-13-586154-7

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.

Sample Content

Table of Contents

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


Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership