From aa6b794c21fc015369682c0275df8dfeaa35bb7a Mon Sep 17 00:00:00 2001 From: Gray Rhino <55380323+grayrhinos@users.noreply.github.com> Date: Thu, 9 Apr 2020 15:59:14 +0900 Subject: [PATCH] Minor fix Solution to the second problem does not limit countries in Europe, hence I added condition to reflect it --- 4_soutions.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/4_soutions.sql b/4_soutions.sql index 2d1cec0..a53b6d8 100644 --- a/4_soutions.sql +++ b/4_soutions.sql @@ -7,7 +7,7 @@ SELECT name FROM world --2. Show the countries in Europe with a per capita GDP greater than 'United Kingdom'. - SELECT name FROM world WHERE gdp/population > (SELECT gdp/population FROM world WHERE name = 'United Kingdom'); + SELECT name FROM world WHERE gdp/population > (SELECT gdp/population FROM world WHERE name = 'United Kingdom') AND continent = 'Europe'; --3. List the name and continent of countries in the continents containing either Argentina or Australia. Order by name of the country.