-
-
Save codecademydev/12fa2f0abdd6b3dfbcba9d135ff6f8a7 to your computer and use it in GitHub Desktop.
Codecademy export
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- This is the first query: | |
SELECT DISTINCT year from population_years; | |
-- Add your additional queries below: | |
SELECT * | |
FROM population_years | |
WHERE country = 'Gabon' | |
Order By population DESC; | |
select * from population_years where year = 2005 order by population asc limit 10; | |
select distinct country from population_years where year = 2010 and population > 100; | |
select distinct country from population_years where country like '%Islands%'; | |
SELECT * | |
FROM population_years | |
WHERE country = 'Indonesia'and year=2000 or country = 'Indonesia' and year=2010; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment