Skip to content

Instantly share code, notes, and snippets.

@younes8888
younes8888 / databases-week1-exercises.sql
Last active June 13, 2024 13:11
databases-week1-exercises.sql
-- 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
@younes8888
younes8888 / formula1.sql
Created June 20, 2024 17:18
formula1.sql
create table Team(
id integer,
name text,
country text,
primary key (id)
);
create table Car(
id integer,