Skip to content

Commit 3b2d22e

Browse files
committed
resolves discrepancy between README and create_views.py
1 parent 122f14f commit 3b2d22e

File tree

3 files changed

+2
-20063
lines changed

3 files changed

+2
-20063
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ This command will load the views directly into the 'news' database. Alternative
5151
GROUP BY time ORDER BY time;
5252

5353
CREATE VIEW badrqsts AS
54-
SELECT time, COUNT(status) AS bad FROM days
54+
SELECT time, COUNT(status) AS bad FROM totalrqsts
5555
WHERE status = '404 NOT FOUND' GROUP BY time ORDER BY time;
5656

5757
CREATE VIEW dailyerrors AS

create_views.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
GROUP BY time ORDER BY time;
2626

2727
CREATE VIEW badrqsts AS
28-
SELECT time, COUNT(status) AS bad FROM days
28+
SELECT time, COUNT(status) AS bad FROM totalrqsts
2929
WHERE status = '404 NOT FOUND' GROUP BY time ORDER BY time;
3030

3131
CREATE VIEW dailyerrors AS

0 commit comments

Comments
 (0)