Practice · History · Medium

Which sites gave up the most

Count obelisks by original_site. Return original_site and a column named obelisks, most first, breaking ties by site name.

Runs in your browser. No signup needed.

What you are given

obelisks(original_site).

Starting point

SELECT original_site, COUNT(*) AS obelisks
FROM obelisks
GROUP BY ...
ORDER BY ...;

The reference solution is checked automatically when you run your query on the practice page — results are compared row by row, and order matters for this one.

Did you know

Heliopolis and Karnak supplied most of the obelisks that later travelled — both were vast temple precincts of the sun and of Amun. (Wikipedia, Egyptian obelisks)

More History challenges

Open it in the playground →