Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SQL Example for Diane
SELECT t2.email, t1.*
FROM all_email_history AS t1
JOIN all_email AS t2 ON t1.all_email_id = t2.id
WHERE t1.[action] IN (1, 7, 8, 9)
AND t1.created_at >= '10/22/2014';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.