Skip to content

Instantly share code, notes, and snippets.

@jthandy
Created April 14, 2016 12:12
Show Gist options
  • Save jthandy/68fb91d782562cc83e854670fb23a620 to your computer and use it in GitHub Desktop.
Save jthandy/68fb91d782562cc83e854670fb23a620 to your computer and use it in GitHub Desktop.
select a.campaign_id, a.email_id, sent_date
from {{env.schema}}.mailchimp_sent_to a
-- add information about when the campaign was sent
inner join {{env.schema}}.mailchimp_campaigns b
on a.campaign_id = b.campaign_id
and a.list_id = b.list_id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment