Queer European MD passionate about IT
Browse Source

Another fix to solutions manual

Christian Pascual 5 years ago
parent
commit
73fff257bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Mission368Solutions.ipynb

+ 1 - 1
Mission368Solutions.ipynb

@@ -47,7 +47,7 @@
    "outputs": [],
    "source": [
     "# Omitting outlier values from the query\n",
-    "q5 = \"SELECT population, population_growth, birth_rate, death_rate FROM facts WHERE (population != MAX(population) AND population != MIN(population))\"\n",
+    "q5 = \"SELECT population, population_growth, birth_rate, death_rate FROM facts WHERE ((population != (SELECT MAX(population) FROM facts)) AND (population != (SELECT MIN(population) FROM facts)))\"\n",
     "result5 = dbGetQuery(conn, q5)"
    ]
   },