Skip to content

Instantly share code, notes, and snippets.

@ejucovy
Created April 30, 2015 15:10
Show Gist options
  • Save ejucovy/05d6436621468af9eb8a to your computer and use it in GitHub Desktop.
Save ejucovy/05d6436621468af9eb8a to your computer and use it in GitHub Desktop.
ActionKit survey response tallying
select name, value, count(distinct user_id) from core_actionfield f
join core_action a on a.id=parent_id
where page_id=MY_SURVEY_PAGE
group by name, value order by name, value;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment