From d7e741797a769011de3dc2bdaf693d11b35b9fc2 Mon Sep 17 00:00:00 2001 From: anthonydb Date: Sun, 8 Aug 2021 21:23:15 -0400 Subject: [PATCH] Minor copy edit updates --- Chapter_06/Chapter_06.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Chapter_06/Chapter_06.sql b/Chapter_06/Chapter_06.sql index f72b041..d319f77 100644 --- a/Chapter_06/Chapter_06.sql +++ b/Chapter_06/Chapter_06.sql @@ -107,7 +107,7 @@ SELECT department, spend_2019 * 100, 1 ) AS pct_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, 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() -SELECT mode() WITHIN GROUP (ORDER BY pop_est_2019) +SELECT mode() WITHIN GROUP (ORDER BY births_2019) FROM us_counties_pop_est_2019;