From ef1218d773e14ff42e6254f891ca186c253fb729 Mon Sep 17 00:00:00 2001 From: anthonydb Date: Sun, 19 Jul 2020 17:16:13 -0400 Subject: [PATCH] Chapter 5 code edits --- Chapter_05/Chapter_05.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Chapter_05/Chapter_05.sql b/Chapter_05/Chapter_05.sql index 3a7d8aa..b892da4 100644 --- a/Chapter_05/Chapter_05.sql +++ b/Chapter_05/Chapter_05.sql @@ -58,7 +58,7 @@ FROM us_counties_pop_est_2019 ORDER BY area_land DESC LIMIT 3; -SELECT county_name, state_name, internal_point_lon +SELECT county_name, state_name, internal_point_lat, internal_point_lon FROM us_counties_pop_est_2019 ORDER BY internal_point_lon DESC LIMIT 5; @@ -98,7 +98,7 @@ FROM 'C:\YourDirectory\supervisor_salaries.csv' WITH (FORMAT CSV, HEADER); INSERT INTO supervisor_salaries (town, county, supervisor, salary) -SELECT town, 'My County', supervisor, salary +SELECT town, 'Mills', supervisor, salary FROM supervisor_salaries_temp; DROP TABLE supervisor_salaries_temp;