Learning the Ropes of SQL: Moving onto Aggregate Functions & Multiple Tables in SQL
This week I finished up the beginner's tutorial on SQL from Codecademy. The final topics I covered this week were aggregate functions and multiple tables. I started with aggregate functions, which are calculations using SQL that are used to analyze large amounts of data in order to get a summary that can identify trends or patterns. I worked with the most common aggregate functions which take multiple input values and return a single output value. Some of the common functions I used were: AVG(), MAX(), MIN(), COUNT(), ROUND(), and SUM(). These functions can also be used to group data by a specific characteristic, for instance, the data set I was working with contained prices, downloads, and categories for fake apps, I was able to group the apps by each of those characteristics by using one query each. Previous to learning this tool, in order to achieve this same result I would have had to use the WHERE clause with several queries. ...