Unknown Origins
SQL practice problem 3 of 67 · Basics · Easy · 10 coins for your first accepted solve
Some players never told us where they are from — their country is NULL.
Return the id and name of those players. Row order does not matter.
Schema
CREATE TABLE players (
id INT PRIMARY KEY,
name TEXT NOT NULL,
country TEXT, -- NULL = unknown
level INT NOT NULL,
joined_on DATE NOT NULL,
mentor_id INT -- another player's id, or NULL
);
Write your query in the browser, run it on the sample data, then submit it against hidden test data.
Previous: Rookie Class of 2025 · Next: Podium · All problems