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
create table Team( | |
id integer, | |
name text, | |
country text, | |
primary key (id) | |
); | |
create table Car( | |
id integer, |
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
-- 1. What are the names of countries with population greater than 8 million? | |
SELECT name, population | |
FROM country | |
WHERE population>8000000; | |
-- 2. What are the names of countries that have “land” in their names? | |
SELECT name |