SQL Server Analytical Toolkit
eBook - ePub

SQL Server Analytical Toolkit

Using Windowing, Analytical, Ranking, and Aggregate Functions for Data and Statistical Analysis

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

SQL Server Analytical Toolkit

Using Windowing, Analytical, Ranking, and Aggregate Functions for Data and Statistical Analysis

About this book

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.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access SQL Server Analytical Toolkit by Angelo Bobak in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Cover
  2. Front Matter
  3. 1. Partitions, Frames, and the OVER( ) Clause
  4. 2. Sales DW Use Case: Aggregate Functions
  5. 3. Sales Use Case: Analytical Functions
  6. 4. Sales Use Case: Ranking/Window Functions
  7. 5. Finance Use Case: Aggregate Functions
  8. 6. Finance Use Case: Ranking Functions
  9. 7. Finance Use Case: Analytical Functions
  10. 8. Plant Use Case: Aggregate Functions
  11. 9. Plant Use Case: Ranking Functions
  12. 10. Plant Use Case: Analytical Functions
  13. 11. Inventory Use Case: Aggregate Functions
  14. 12. Inventory Use Case: Ranking Functions
  15. 13. Inventory Use Case: Analytical Functions
  16. 14. Summary, Conclusions, and Next Steps
  17. Back Matter