diff --git a/Chapter_09/Chapter_09.sql b/Chapter_09/Chapter_09.sql index de87962..8a77623 100644 --- a/Chapter_09/Chapter_09.sql +++ b/Chapter_09/Chapter_09.sql @@ -258,7 +258,7 @@ GROUP BY stabr, stataddr ORDER BY stabr, stataddr; -- Listing 9-11: Using the sum() aggregate function to total visits to --- libraries in 2014 and 2009 +-- libraries in 2016, 2017, and 2018 -- 2018 SELECT sum(visits) AS visits_2018 diff --git a/Chapter_10/Chapter_10.sql b/Chapter_10/Chapter_10.sql index 0e8bbc3..a55d1a0 100644 --- a/Chapter_10/Chapter_10.sql +++ b/Chapter_10/Chapter_10.sql @@ -101,12 +101,6 @@ SET st_copy = st; -- Listing 10-10: Checking values in the st and st_copy columns -SELECT st, - st_copy -FROM meat_poultry_egg_establishments -ORDER BY st; - --- With WHERE clause to check for equality SELECT st, st_copy FROM meat_poultry_egg_establishments