Practice · History · Easy

Your first SELECT

Return the name and era of every pharaoh in the table.

Runs in your browser. No signup needed.

What you are given

pharaohs(name, dynasty, reign_start, reign_end, era). Just pick two columns — no filter needed.

Starting point

SELECT name, era
FROM pharaohs;

The reference solution is checked automatically when you run your query on the practice page — results are compared row by row.

Did you know

SELECT is the verb behind every question you will ever ask a database. Everything else just refines it. (SQLite docs)

More History challenges

Open it in the playground →