- How do aggregate functions evaluate NULL?
The NULL value is almost ignored in aggregate functions. NULL is not a minimal nor maximal value. The only exception to this rule is the COUNT(*) aggregate function, because it works with whole records. - When executing an aggregate query, the following error occurred: Column '#src.SubcategoryName' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause. What does this mean?
This error means that we forgot to add a non-constant column to the GROUP BY clause from the SELECT clause. - What are GROUPING SETS used for?
When writing aggregate queries, we sometimes need to have more combinations of grouping criteria. GROUPING SETS are used to define several combinations of grouping in aggregate queries. - How is the frame defined when the ranking function is used?
When...
Hands-On Data Science with SQL Server 2017
By :
Hands-On Data Science with SQL Server 2017
By:
Overview of this book
SQL Server is a relational database management system that enables you to cover end-to-end data science processes using various inbuilt services and features.
Hands-On Data Science with SQL Server 2017 starts with an overview of data science with SQL to understand the core tasks in data science. You will learn intermediate-to-advanced level concepts to perform analytical tasks on data using SQL Server. The book has a unique approach, covering best practices, tasks, and challenges to test your abilities at the end of each chapter. You will explore the ins and outs of performing various key tasks such as data collection, cleaning, manipulation, aggregations, and filtering techniques. As you make your way through the chapters, you will turn raw data into actionable insights by wrangling and extracting data from databases using T-SQL. You will get to grips with preparing and presenting data in a meaningful way, using Power BI to reveal hidden patterns. In the concluding chapters, you will work with SQL Server integration services to transform data into a useful format and delve into advanced examples covering machine learning concepts such as predictive analytics using real-world examples.
By the end of this book, you will be in a position to handle the growing amounts of data and perform everyday activities that a data science professional performs.
Table of Contents (14 chapters)
Preface
Free Chapter
Data Science Overview
SQL Server 2017 as a Data Science Platform
Data Sources for Analytics
Data Transforming and Cleaning with T-SQL
Data Exploration and Statistics with T-SQL
Custom Aggregations on SQL Server
Data Visualization
Data Transformations with Other Tools
Predictive Model Training and Evaluation
Making Predictions
Getting It All Together - A Real-World Example
Next Steps with Data Science and SQL
Other Books You May Enjoy
Customer Reviews