In our summary statistics SQL lesson, learn how to calculate summary statistics in SQL. Calculating statistics of a dataset is an important skill to have because you can quickly explore any dataset, and explore the basics of a dataset beyond a SELECT statement. Building on the previous lesson, you’ll continue your journey and gradually grow your skills to ensure you are proficient and prepared to land your first job in data!
In this lesson, you will learn how to compute the minimum and the maximum of a column using the MIN and MAX functions. You will also learn how to calculate sum and averages of numerical columns using the SUM and AVG functions. In addition to learning how to use aggregate functions, you will also learn how perform arithmetic in SQL using the four mathematical operators (+, -, *, /).
While learning about each of the above clauses, you will be working with a bit of data that contains the 2010-2012 data for college grads. This dataset contains information on job outcome statistics based on college majors. With each concept, you’ll be using our code running system with answer checking so you can ensure you’ve mastered each concept before moving on to the next concept.
- Learn how to use aggregate functions in SQL.
- Learn to compute mix, max, and average values in a column.
- How to perform arihmetic in SQL.
- Finding a Column’s Minimum and Maximum Values in SQL
- Calculating Sums and Averages in SQL
- Combining Multiple Aggregation Functions
- Customizing The Results
- Counting Unique Values
- Performing Arithmetic in SQL
- Next Steps