From 4c1662e3cefa474651057d5db1fc8fa5bd1dc460 Mon Sep 17 00:00:00 2001 From: anthonydb Date: Sun, 8 Aug 2021 18:52:05 -0400 Subject: [PATCH] Label fix during copy edit --- Chapter_05/Chapter_05.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Chapter_05/Chapter_05.sql b/Chapter_05/Chapter_05.sql index 4da6cbf..53746a0 100644 --- a/Chapter_05/Chapter_05.sql +++ b/Chapter_05/Chapter_05.sql @@ -13,7 +13,7 @@ FROM 'C:\YourDirectory\your_file.csv' WITH (FORMAT CSV, HEADER); --- Listing 5-2: A CREATE TABLE statement for Census county population estimates +-- Listing 5-2: CREATE TABLE statement for Census county population estimates -- Data dictionary for estimates available at: https://www2.census.gov/programs-surveys/popest/technical-documentation/file-layouts/2010-2019/co-est2019-alldata.pdf -- Data dictionary for additional columns at: http://www.census.gov/prod/cen2010/doc/pl94-171.pdf -- Note: Some columns have been given more descriptive names @@ -98,7 +98,7 @@ WHERE town = 'New Brillig'; SELECT * FROM supervisor_salaries; --- Listing 5-7: Use a temporary table to add a default value to a column during +-- Listing 5-7: Using a temporary table to add a default value to a column during -- import DELETE FROM supervisor_salaries; @@ -120,7 +120,7 @@ DROP TABLE supervisor_salaries_temp; SELECT * FROM supervisor_salaries ORDER BY id LIMIT 2; --- Listing 5-8: Export an entire table with COPY +-- Listing 5-8: Exporting an entire table with COPY COPY us_counties_pop_est_2019 TO 'C:\YourDirectory\us_counties_export.txt'