Created
December 2, 2011 11:34
-
-
Save wenbert/1422934 to your computer and use it in GitHub Desktop.
4. All those in the 123signup list who are listed as EXPIRED but are NOT listed in the CFAI list>>> Leave them EXPIRED in 123signup. But be ready to upgrade them when they are upgraded in CFAI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
onetwothree.`name`, | |
onetwothree.`email`, onetwothree.`exp_date`, onetwothree.`days_due` | |
FROM from_123 onetwothree | |
LEFT JOIN from_cfai cfai | |
ON cfai.email = onetwothree.email | |
WHERE | |
onetwothree.days_due > 0 | |
AND | |
cfai.first_name IS NULL | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment