menu 简单麦麦
account_circle

SQL Server 2019中的专家T-SQL窗口函数:快速分析和报告查询的隐藏秘密-Expert T-SQL Window Functions in SQL Server 2019: The Hi

帮助2571人找到了他们想要的文件
上传于 2020-03-02 39次下载 2723次围观
文件编号:6305
文件详情
标题(title):Expert T-SQL Window Functions in SQL Server 2019: The Hidden Secret to Fast Analytic and Reporting Queries
SQL Server 2019中的专家T-SQL窗口函数:快速分析和报告查询的隐藏秘密
作者(author):Kathi Kellenberger, Clayton Groom, Ed Pollack
出版社(publisher):Apress
大小(size):10 MB (10477815 bytes)
格式(extension):pdf
注意:如果文件下载完成后为无法打开的格式,请修改后缀名为格式对应后缀


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 LearnSolve 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.



Table of contents :
Front Matter ....Pages i-xviii
Looking Through the Window (Kathi Kellenberger, Clayton Groom, Ed Pollack)....Pages 1-19
Discovering Ranking Functions (Kathi Kellenberger, Clayton Groom, Ed Pollack)....Pages 21-41
Summarizing with Window Aggregates (Kathi Kellenberger, Clayton Groom, Ed Pollack)....Pages 43-60
Calculating Running and Moving Aggregates (Kathi Kellenberger, Clayton Groom, Ed Pollack)....Pages 61-74
Adding Frames to the Window (Kathi Kellenberger, Clayton Groom, Ed Pollack)....Pages 75-85
Taking a Peek at Another Row (Kathi Kellenberger, Clayton Groom, Ed Pollack)....Pages 87-98
Understanding Statistical Functions (Kathi Kellenberger, Clayton Groom, Ed Pollack)....Pages 99-111
Tuning for Better Performance (Kathi Kellenberger, Clayton Groom, Ed Pollack)....Pages 113-139
Hitting a Home Run with Gaps, Islands, and Streaks (Kathi Kellenberger, Clayton Groom, Ed Pollack)....Pages 141-173
Time Range Calculations (Kathi Kellenberger, Clayton Groom, Ed Pollack)....Pages 175-193
Time Trend Calculations (Kathi Kellenberger, Clayton Groom, Ed Pollack)....Pages 195-208
Back Matter ....Pages 209-213
-到底部了哦-
微信扫码支付
SQL Server 2019中的专家T-SQL窗口函数:快速分析和报告查询的隐藏秘密-Expert T-SQL Window Functions in SQL Server 2019: The Hi
支付金额: 共计:¥0.0

添加收藏

创建新合集