SQL_Zoo
SQL_Zoo copied to clipboard
https://github.com/Chenzilla/SQL_Zoo/blob/07e356b1f83ccfa796cbe6e1c033a42cf7b37a85/4_soutions.sql#L10 correct answer is ``` SELECT name FROM world WHERE continent='Europe' AND gdp/population > (SELECT gdp/population FROM world WHERE name='United Kingdom') ```
Solution for 14. "Show the 1984 winners and subject ordered by subject and winner name; but list Chemistry and Physics last", is updated.
select y.name, y.continent, y.population from world as y Join (select continent,max(population) from world group by continent having max(population)
Solution to the second problem does not limit countries in Europe, hence I added condition to reflect it
Added 'Barack Obama' to Show all details of the presidential winners