Skip to content

Instantly share code, notes, and snippets.

@danabauer
Created May 21, 2013 14:01
Show Gist options
  • Save danabauer/5620000 to your computer and use it in GitHub Desktop.
Save danabauer/5620000 to your computer and use it in GitHub Desktop.
cartodb ece sql
# This is counting distinct facilities with a capacity less than 10, grouped by star level
SELECT star_level, count(DISTINCT facility_name) FROM ocdelphl
where capacity < 10
group by star_level
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment