Skip to content

Instantly share code, notes, and snippets.

@hsteiger
Created March 16, 2020 19:25
Show Gist options
  • Save hsteiger/f5c7dff9909d809cb8616d461f253b3c to your computer and use it in GitHub Desktop.
Save hsteiger/f5c7dff9909d809cb8616d461f253b3c to your computer and use it in GitHub Desktop.
select distinct e.email
from mwz.mw_list_subscriber e
where exists (select 1
from mwz.mw_campaign_track_open
where subscriber_id = e.subscriber_id);
#Export All Base Emails
select distinct email
from mwz.mw_list_subscriber;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment