SQL Server Analytical Toolkit: Using Windowing, Analytical, Ranking, and Aggregate Functions for Data and Statistical Analysis
暫譯: SQL Server 分析工具包:使用視窗、分析、排名和聚合函數進行數據與統計分析

Bobak, Angelo

  • 出版商: Apress
  • 出版日期: 2023-09-24
  • 售價: $2,400
  • 貴賓價: 9.5$2,280
  • 語言: 英文
  • 頁數: 1055
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484286669
  • ISBN-13: 9781484286661
  • 相關分類: MSSQLSQL
  • 海外代購書籍(需單獨結帳)

商品描述

Learn window function foundational concepts through a cookbook-style approach, beginning with an introduction to the OVER() clause, its various configurations in terms of how partitions and window frames are created, and how data is sorted in the partition so that the window function can operate on the partition data sets. You will build a toolkit based not only on the window functions but also on the performance tuning tools, use of Microsoft Excel to graph results, and future tools you can learn such as PowerBI, SSIS, and SSAS to enhance your data architecture skills.

This book goes beyond just showing how each function works. It presents four unique use-case scenarios (sales, financial, engineering, and inventory control) related to statistical analysis, data analysis, and BI. Each section is covered in three chapters, one chapter for each of the window aggregate, ranking, and analytical function categories.

Each chapter includes several TSQL code examples and is re-enforced with graphic output plus Microsoft Excel graphs created from the query output. SQL Server estimated query plans are generated and described so you can see how SQL Server processes the query. These together with IO, TIME, and PROFILE statistics are used to performance tune the query. You will know how to use indexes and when not to use indexes.

You will learn how to use techniques such as creating report tables, memory enhanced tables, and creating clustered indexes to enhance performance. And you will wrap up your learning with suggested steps related to business intelligence and its relevance to other Microsoft Tools such as Power BI and Analysis Services.

All code examples, including code to create and load each of the databases, are available online.

What You Will Learn

  • Use SQL Server window functions in the context of statistical and data analysis
  • Re-purpose code so it can be modified for your unique applications
  • Study use-case scenarios that span four critical industries
  • Get started with statistical data analysis and data mining using TSQL queries to dive deep into data
  • Study discussions on statistics, how to use SSMS, SSAS, performance tuning, and TSQL queries using the OVER() clause.
  • Follow prescriptive guidance on good coding standards to improve code legibility

Who This Book Is For

Intermediate to advanced SQL Server developers and data architects. Technical and savvy business analysts who need to apply sophisticated data analysis for their business users and clients will also benefit. This book offers critical tools and analysis techniques they can apply to their daily job in the disciplines of data mining, data engineering, and business intelligence.

商品描述(中文翻譯)

學習視窗函數的基礎概念,採用食譜式的方法,首先介紹 OVER() 子句及其各種配置,包括如何創建分區和視窗框架,以及如何在分區中對數據進行排序,以便視窗函數能夠在分區數據集上運作。您將建立一個工具包,不僅基於視窗函數,還包括性能調優工具、使用 Microsoft Excel 繪製結果圖表,以及未來可以學習的工具,如 Power BI、SSIS 和 SSAS,以增強您的數據架構技能。

本書不僅僅展示每個函數的運作方式。它提供了四個獨特的使用案例場景(銷售、財務、工程和庫存控制),與統計分析、數據分析和商業智慧(BI)相關。每個部分由三個章節組成,每個章節針對視窗聚合、排名和分析函數類別。

每個章節包括幾個 TSQL 代碼示例,並通過圖形輸出和從查詢輸出創建的 Microsoft Excel 圖表進行強化。生成並描述 SQL Server 的估算查詢計劃,以便您可以看到 SQL Server 如何處理查詢。這些與 IO、TIME 和 PROFILE 統計數據一起用於性能調優查詢。您將了解如何使用索引以及何時不使用索引。

您將學習如何使用技術,例如創建報告表、內存增強表和創建聚集索引來提升性能。最後,您將通過與商業智慧相關的建議步驟來結束您的學習,並了解其與其他 Microsoft 工具(如 Power BI 和 Analysis Services)的相關性。

所有代碼示例,包括創建和加載每個數據庫的代碼,都可以在線獲得。

您將學到什麼


  • 在統計和數據分析的背景下使用 SQL Server 視窗函數

  • 重新利用代碼,以便可以根據您的獨特應用進行修改

  • 研究涵蓋四個關鍵行業的使用案例場景

  • 使用 TSQL 查詢開始進行統計數據分析和數據挖掘,深入數據

  • 研究有關統計的討論,如何使用 SSMS、SSAS、性能調優以及使用 OVER() 子句的 TSQL 查詢。

  • 遵循有關良好編碼標準的指導,以提高代碼可讀性

本書適合誰
本書適合中級到高級的 SQL Server 開發人員和數據架構師。需要為其業務用戶和客戶應用複雜數據分析的技術和精明的商業分析師也將受益。本書提供了他們可以應用於數據挖掘、數據工程和商業智慧領域日常工作的關鍵工具和分析技術。

作者簡介

Angelo Bobak is a published author with more than four decades of experience and expertise in the areas of business intelligence, data architecture, data warehouse design, data modeling, master data management, and data quality using the Microsoft BI Stack across several industry sectors such as finance, publishing, and automotive. Before becoming a database architect, he was an electrical engineer in the power plant industry.

作者簡介(中文翻譯)

Angelo Bobak 是一位已出版的作者,擁有超過四十年的經驗和專業知識,專注於商業智慧、數據架構、數據倉儲設計、數據建模、主數據管理和數據質量,並使用 Microsoft BI Stack 服務於金融、出版和汽車等多個行業。在成為數據庫架構師之前,他曾是一名電力行業的電機工程師。