From b5fbb1fe2bd9939343b54c3d15399e425f753372 Mon Sep 17 00:00:00 2001 From: Anthony DeBarros Date: Mon, 27 Sep 2021 07:39:01 -0400 Subject: [PATCH] Minor edits during proofreading --- Chapter_12/Chapter_12.sql | 1 + Chapter_13/Chapter_13.sql | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Chapter_12/Chapter_12.sql b/Chapter_12/Chapter_12.sql index 4a90b5e..e6e225d 100644 --- a/Chapter_12/Chapter_12.sql +++ b/Chapter_12/Chapter_12.sql @@ -159,6 +159,7 @@ WITH (FORMAT CSV, HEADER); CREATE INDEX tpep_pickup_idx ON nyc_yellow_taxi_trips (tpep_pickup_datetime); +-- Count the trip records SELECT count(*) FROM nyc_yellow_taxi_trips; -- Listing 12-8: Counting taxi trips by hour diff --git a/Chapter_13/Chapter_13.sql b/Chapter_13/Chapter_13.sql index 87a7039..89a78f0 100644 --- a/Chapter_13/Chapter_13.sql +++ b/Chapter_13/Chapter_13.sql @@ -322,7 +322,7 @@ AS (station text, dec numeric(3,0) ); --- Listing 13-20: Re-classifying temperature data with CASE +-- Listing 13-20: Reclassifying temperature data with CASE SELECT max_temp, CASE WHEN max_temp >= 90 THEN 'Hot'