Practice · History · Medium

Temples of Amun

Return the name and site of every temple whose principal_deity mentions Amun.

Runs in your browser. No signup needed.

What you are given

temples(name, site, principal_deity). Some deity fields list several gods, so match on a substring with LIKE.

Starting point

SELECT name, site
FROM temples
WHERE principal_deity LIKE ...;

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

Did you know

Amun rose from a local Theban god to king of the gods, which is why so much of Karnak is his. (Touropia)

More History challenges

Open it in the playground →