Apress | Expert T-SQL Window Functions In SQL Server 2019: The Hidden Secret To Fast Analytic And Reporting Queries, 2nd Edition (2019 EN)

Discussion in 'Computing' started by Kanka, Jun 24, 2021.

  1. Kanka

    Kanka Well-Known Member Loyal User

    Messages:
    16,037
    Likes Received:
    449
    Trophy Points:
    83
    [​IMG]

    Author: Kathi Kellenberger, Clayton Groom, Edward Pollack
    Full Title: Expert T-SQL Window Functions In SQL Server 2019: The Hidden Secret To Fast Analytic And Reporting Queries, 2nd Edition
    Publisher: ‎ Apress; 2nd ed. edition (October 22, 2019)
    Year: 2019
    ISBN-13: 9781484251973 (978-1-4842-5197-3), 9781484251966 (978-1-4842-5196-6)
    ISBN-10: 1484251970, 1484251962
    Pages: 213
    Language: English
    Genre: Educational: Database Management
    File type: EPUB (True), PDF (True), Code Files
    Quality: 10/10
    Price: 37.44 €


    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.


    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

    Features:
    ✓ Helps you write better performing queries using window functions
    ✓ Provides fun examples that you can experiment with in your own databases
    ✓ Explains how to get the best performance when using window functions

    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.

    -------------