Performing Data Aggregation using SQL Aggregate Functions

4.8
stars
54 ratings
Offered By
Coursera Project Network
2,351 already enrolled
In this Guided Project, you will:

Retrieve data as summaries from tables of a database using SQL aggregate functions

Understand how to set conditions on the result set of an aggregate functions using the HAVING clause

Clock2 hours
IntermediateIntermediate
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In this 2-hour long project-based course, you will learn how to retrieve data from tables in a database using SQL SELECT statement with SQL Aggregate functions. The aggregate functions we will consider in this project are COUNT, SUM, MIN, MAX and AVG. Aggregate functions are used to summarize data from rows of a table into a single value. In addition, you will learn how to set conditions on the output of an aggregate function using the HAVING clause. Finally, you will learn how to tidy up the result set of aggregate functions using the ROUND function. Note: You do not need to be a data administrator or data analyst to be successful in this guided project, just a familiarity with querying databases using SQL SELECT statement suffice for this project. If you are not familiar with SQL and want to learn the basics, start with my previous guided projects titled “Performing Data definition and Manipulation in SQL." and “Querying Databases using SQL SELECT statement”

Skills you will develop

Data ManagementData ManipulationRelational DatabasePostgresqlData Aggregation

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Retrieve data from the employees database

  2. Retrieve data from the employees database using the COUNT function

  3. Select distinct data from fields of a table and use the GROUP BY statement

  4. Use the HAVING clause to set conditions on aggregate functions

  5. Retrieve data from the employees database using the SUM function

  6. Retrieve data from the employees database using the MIN & MAX functions

  7. Retrieve data from the employees database using the AVG function

  8. Use ROUND to tidy up the result set of aggregate functions

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Reviews

TOP REVIEWS FROM PERFORMING DATA AGGREGATION USING SQL AGGREGATE FUNCTIONS

View all reviews

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.