Minor copy edit updates

This commit is contained in:
anthonydb 2021-08-08 21:23:15 -04:00
parent 4c1662e3ce
commit d7e741797a

View File

@ -107,7 +107,7 @@ SELECT department,
spend_2019 * 100, 1 ) AS pct_change spend_2019 * 100, 1 ) AS pct_change
FROM percent_change; FROM percent_change;
-- Listing 6-9: Using sum() and avg() aggregate functions -- Listing 6-9: Using the sum() and avg() aggregate functions
SELECT sum(pop_est_2019) AS county_sum, SELECT sum(pop_est_2019) AS county_sum,
round(avg(pop_est_2019), 0) AS county_average round(avg(pop_est_2019), 0) AS county_average
@ -165,5 +165,5 @@ FROM us_counties_pop_est_2019;
-- Listing 6-14: Finding the most-frequent value with mode() -- Listing 6-14: Finding the most-frequent value with mode()
SELECT mode() WITHIN GROUP (ORDER BY pop_est_2019) SELECT mode() WITHIN GROUP (ORDER BY births_2019)
FROM us_counties_pop_est_2019; FROM us_counties_pop_est_2019;