From 9bc86f265f96e305a05360027d8555a9d868b71c Mon Sep 17 00:00:00 2001 From: Lawal Ogunfowora Date: Sun, 23 Aug 2020 12:06:12 +0100 Subject: [PATCH] Update Mission257Solutions.ipynb The calculation of the densely populated places did not exclude "World" from the fact table and such the result will be skewed. --- Mission257Solutions.ipynb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mission257Solutions.ipynb b/Mission257Solutions.ipynb index 929267e..8c88c2b 100644 --- a/Mission257Solutions.ipynb +++ b/Mission257Solutions.ipynb @@ -719,9 +719,11 @@ " FROM facts\n", " WHERE population > (SELECT AVG(population)\n", " FROM facts\n", + " WHERE name != 'World'\n" " )\n", " AND area < (SELECT AVG(area)\n", " FROM facts\n", + " WHERE name != 'World'\n" ");" ] },