Practice · History · Easy
Return the name and era of every pharaoh in the table.
Runs in your browser. No signup needed.
pharaohs(name, dynasty, reign_start, reign_end, era). Just pick two columns — no filter needed.
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.
SELECT is the verb behind every question you will ever ask a database. Everything else just refines it. (SQLite docs)