4. Aggregate Functions for Data Analysis

Overview

In this chapter, you will study the conceptual logic of aggregate functions, write SQL to execute these functions, and learn how to analyze data using them. You will also learn how to modify them using keywords such as HAVING and GROUP BY.

By the end of this chapter, you will be able to apply these functions to gain new insights into data and understand the properties of datasets, such as data quality.

Introduction

In the previous chapter, you learned how to use SQL to prepare datasets for analysis. Eventually, the purpose of data preparation is to make the data suitable for analysis so that you can make sense of it. Once the data has been prepared, the next step is to analyze it. Generally, ...

Get SQL for Data Analytics - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.