From the course: SQL for Healthcare Professionals
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Using aggregate functions to manipulate the data - SQL Tutorial
From the course: SQL for Healthcare Professionals
Using aggregate functions to manipulate the data
- [Instructor] When working in healthcare analytics, it is common to have questions that require calculations with the data. SQL has built in functions that allow different types of calculations to be performed. Let's discuss some of the most common aggregate functions. Aggregate functions return the basic statistics on a group of records. Average, count, maximum and minimum are some examples of those types of functions. As the name indicates, average calculates the arithmetic means of a set of values in the column. Count returns the number of records in a data set or the number of non null values in a column. Maximum returns the highest value in a column of numeric or date-time data types. It's useful for finding the maximum value of a certain parameter, such as the highest blood pressure reading among patients. Minimum returns the smallest value in a column of numeric or date-time data types. It's handy identifying the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Why use SQL in healthcare?1m 35s
-
(Locked)
How to gather data for analysis using SQL2m 30s
-
(Locked)
Using aggregate functions to manipulate the data4m 50s
-
(Locked)
Using a CASE statement for data classification3m 57s
-
(Locked)
Date manipulation in SQL9m 29s
-
(Locked)
What are relational databases?1m 43s
-
(Locked)
How to gather data from different tables using JOINS4m 52s
-
-
-
-
-
-
-