Skip to content

Conversation

@willyraedy
Copy link
Contributor

Accounts for the fact that the survey question and responses may live in the parent commitee

Outstanding Questions:

  • Is it ever nested more than one level?

AND contacts.segment_by = responses.segment_by
AND (
contacts.committee_id = responses.survey_response_committee_id
OR committees.parent_committee_id = responses.survey_response_committee_id

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there grandparents or great grandparent committee relations?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants