Skip to content
  • Home
  • Shop
  • About Us
  • Search
  • Contact Us
  • Login
View cart
  • Login
Close
  • Home
  • Shop
  • About Us
  • Search
  • Contact Us
Home Expert T-SQL Window Functions in SQL Server 2019: The Hidden Secret to Fast Analytic and Reporting Queries - Paperback
Expert T-SQL Window Functions in SQL Server 2019: The Hidden Secret to Fast Analytic and Reporting Queries
  • Books,
  • Computers,
  • Database Administration & Management,
  • Languages,
  • Microsoft,
  • Programming,

Expert T-SQL Window Functions in SQL Server 2019: The Hidden Secret to Fast Analytic and Reporting Queries - Paperback

Original price $59.38 - Original price $59.38
Original price
$59.38
$59.38 - $59.38
Current price $59.38
| /
Availability: In Stock
SKU 9781484251966
  • Description
  • Reviews ()

Additional information

Report copyright infringement

by Kathi Kellenberger (Author), Clayton Groom (Author), Ed Pollack (Author)

Become an expert who can use window functions to solve T-SQL query problems. Replace slow cursors and self-joins with queries that are easy to write and perform better. This new edition provides expanded examples, including a chapter from the world of sports, and covers the latest performance enhancements through SQL Server 2019.
Window functions are useful in analytics and business intelligence reporting. They came into full blossom with SQL Server 2012, yet they are not as well known and used as often as they ought to be. This group of functions is one of the most notable developments in SQL, and this book shows how every developer and DBA can benefit from their expressive power in solving day-to-day business problems. Once you begin using window functions, such as ROW_NUMBER and LAG, you will discover many ways to use them. You will approach SQL Server queries in a different way, thinking about sets of data instead of individual rows. Your queries will run faster, be easier to write, and easier to deconstruct, maintain, and enhance in the future.
Just knowing and using these functions is not enough. You also need to understand how to tune the queries. Expert T-SQL Window Functions in SQL Server clearly explains how to get the best performance. The book also covers the rare cases when older techniques are the best bet.

What You Will Learn
  • Solve complex query problems without cumbersome self-joins that run slowly and are difficult to read
  • Create sliding windows in a result set for computing such as running totals and moving averages
  • Return aggregate and detail data simultaneously from the same SELECT statement
  • Compute lag and lead and other values that access data from multiple rows in a result set
  • Understand the OVER clause syntax and how to control the window
  • Avoid framing errors that can lead to unexpected results

Who This Book Is For
Anyone who writes T-SQL queries, including database administrators, developers, business analysts, and data scientists. Before reading this book, you should understand how to join tables, write WHERE clauses, and build aggregate queries.

Back Jacket

Become an expert who can use window functions to solve T-SQL query problems. Replace slow cursors and self-joins with queries that are easy to write and perform better. This new edition provides expanded examples, including a chapter from the world of sports, and covers the latest performance enhancements through SQL Server 2019.
Window functions are useful in analytics and business intelligence reporting. They came into full blossom with SQL Server 2012, yet they are not as well known and used as often as they ought to be. This group of functions is one of the most notable developments in SQL, and this book shows how every developer and DBA can benefit from their expressive power in solving day-to-day business problems. Once you begin using window functions, such as ROW_NUMBER and LAG, you will discover many ways to use them. You will approach SQL Server queries in a different way, thinking about sets of data instead of individual rows. Your queries will run faster, be easier to write, and easier to deconstruct, maintain, and enhance in the future.
Just knowing and using these functions is not enough. You also need to understand how to tune the queries. Expert T-SQL Window Functions in SQL Server clearly explains how to get the best performance. The book also covers the rare cases when older techniques are the best bet.
You will:

  • Solve complex query problems without cumbersome self-joins that run slowly and are difficult to read
  • Create sliding windows in a result set for computing such as running totals and moving averages
  • Return aggregate and detail data simultaneously from the same SELECT statement
  • Compute lag and lead and other values that access data from multiple rows in a result set
  • Understand the OVER clause syntax and how to control the window
  • Avoid framing errors that can lead to unexpected results

Author Biography

Kathi Kellenberger is a data platform MVP and the editor of Simple-Talk at Redgate Software. She has worked with SQL Server for over 20 years. She is also co-leader of the PASS Women in Technology Virtual Group and an instructor at LaunchCode. In her spare time, Kathi enjoys spending time with family and friends, singing, and cycling.

Clayton Groom is a data warehouse and analytics consultant at Clayton Groom, LLC. He has worked with SQL Server for 25 years. His expertise lies in designing and building data warehouse and analytic solutions on the Microsoft technology stack, including Power BI, SQL Server, Analysis Services, Reporting Services and Excel.


Edward Pollack has over 20 years of experience in database and systems administration and architecture, developing a passion for performance optimization and making things go faster. He has spoken at many SQL Saturdays, 24 Hours of PASS, and PASS Summits, and has coordinated SQL Saturday Albany since its inception in 2014.
Number of Pages: 213
Dimensions: 0.49 x 10 x 7 IN
Illustrated: Yes
Publication Date: October 22, 2019

You may also like

  • !Ah y Le Lo Lay, Le Lo Ley! Musica Tipica de Puerto Rico

    !Ah y Le Lo Lay, Le Lo Ley! Musica Tipica de Puerto Rico - Paperback

    In stock

    Report copyright infringementby Nereida Ayala-Guzman (Author)Pretendemos por medio de "Ahi Le Lo Lai Le Lo Lei, Música Típica de Puerto Rico", resa...

    View full details
    Original price $38.88 - Original price $38.88
    Original price
    $38.88
    $38.88 - $38.88
    Current price $38.88
    | /
    Original price $38.88 - Original price $38.88
    Original price
    $38.88
    $38.88 - $38.88
    Current price $38.88
    | /
  • !Búscalo! (Look It Up!): A Quick Reference Guide to Spanish Grammar and Usage

    !Búscalo! (Look It Up!): A Quick Reference Guide to Spanish Grammar and Usage - Hardcover

    In stock

    Report copyright infringementby William M. Clarkson (Author)A novel approach--very useful for quick reference.--Mark Goldin Associate Professor of ...

    View full details
    Original price $31.27 - Original price $31.27
    Original price
    $31.27
    $31.27 - $31.27
    Current price $31.27
    | /
    Original price $31.27 - Original price $31.27
    Original price
    $31.27
    $31.27 - $31.27
    Current price $31.27
    | /
  • !Búscalo! (Look It Up!): A Quick Reference Guide to Spanish Grammar and Usage

    !Búscalo! (Look It Up!): A Quick Reference Guide to Spanish Grammar and Usage - Paperback

    In stock

    Report copyright infringementby William M. Clarkson (Author)"A novel approach--very useful for quick reference." --Mark Goldin, Associate Professo...

    View full details
    Original price $17.23 - Original price $17.23
    Original price
    $17.23
    $17.23 - $17.23
    Current price $17.23
    | /
    Original price $17.23 - Original price $17.23
    Original price
    $17.23
    $17.23 - $17.23
    Current price $17.23
    | /
  • !Eureka!

    !Eureka! - Hardcover

    In stock

    Report copyright infringementby Peter Santino (Author)A Practical Guide to Understanding and UtilizingTraditional Techniques of Plaster Repair &...

    View full details
    Original price $46.29 - Original price $46.29
    Original price
    $46.29
    $46.29 - $46.29
    Current price $46.29
    | /
    Original price $46.29 - Original price $46.29
    Original price
    $46.29
    $46.29 - $46.29
    Current price $46.29
    | /
  • !LETTER TO THE UNITED NATIONS! !REPARATIONS NOW! The Many Reasons Why: St. Mark's-in-the-Bowery Church, The Dutch Royal Family, The Kingdom of the Net

    !LETTER TO THE UNITED NATIONS! !REPARATIONS NOW! The Many Reasons Why: St. Mark's-in-the-Bowery Church, The Dutch Royal Family, The Kingdom of the Net - Paperback

    In stock

    Report copyright infringementby K. F. Harris (Author)This book !Letter to the United Nations! !Reparations Now! The Many Reasons Why: St. Mark's-in...

    View full details
    Original price $86.38 - Original price $86.38
    Original price
    $86.38
    $86.38 - $86.38
    Current price $86.38
    | /
    Original price $86.38 - Original price $86.38
    Original price
    $86.38
    $86.38 - $86.38
    Current price $86.38
    | /
Shop collection

#DiscoverGreatBooks


Discover books that inspire growth, creativity, and imagination for readers of all ages.

Main menu

  • Home
  • Shop
  • About Us
  • Search
  • Contact Us

Footer menu

  • Search

Follow us

Find us on Facebook Find us on Threads Find us on Telegram Find us on Instagram Find us on LinkedIn Find us on Twitter
  • Search

Copyright © 2026 Selloorium. All rights reserved.

  • Choosing a selection results in a full page refresh.
  • Opens in a new window.