-
-
Save voltgister/2ed3230c686c453af3d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT pp.name AS place_name, COUNT(*) AS attendee_count | |
FROM attendees AS a | |
INNER JOIN public_places AS pp | |
ON CONTAINS(pp.border, a.loc) | |
GROUP BY pp.name | |
ORDER BY attendee_count DESC | |
LIMIT 3 | |
place_name attendee_count | |
------------------- -------------- | |
TD Banknorth Garden 786 | |
Fenway Park 512 | |
Agganis Arena 413 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment