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.
2. Finding a Column's Minimum and Maximum Values in SQL
3. Calculating Sums and Averages in SQL
4. Combining Multiple Aggregation Functions
5. Customizing The Results
6. Counting Unique Values
7. Performing Arithmetic in SQL
8. Next Steps