Created
December 2, 2011 11:07
-
-
Save wenbert/1422817 to your computer and use it in GitHub Desktop.
2. All those in the CFAI list but NOT in the 123signup list>> Add them as a regular (or affiliate) SCFAS member in 123signup
This file contains hidden or 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 | |
cfai.display_name, cfai.first_name, cfai.last_name, cfai.email | |
FROM | |
from_cfai cfai | |
WHERE cfai.email NOT IN ( | |
SELECT onetwothree.email | |
FROM | |
from_123 onetwothree | |
WHERE cfai.email = onetwothree.email | |
) | |
/* using the new CFAI file as of December 10, 2011 | |
and new 123signup file containing all members from December 11, 2011*/ | |
SELECT | |
cfai.first_name, | |
cfai.last_name, | |
cfai.email, | |
cfai.home_phone, | |
cfai.work_phone, | |
"Password123" as temp_password, | |
cfai.street_address, | |
cfai.street_address_2, | |
cfai.street_address_3, | |
cfai.city, | |
cfai.state, | |
cfai.zip, | |
cfai.person_id, | |
cfai.member_type | |
FROM | |
from_cfai_20111201 cfai | |
WHERE cfai.email NOT IN ( | |
SELECT onetwothree.email | |
FROM | |
from_123_20111211 onetwothree | |
WHERE cfai.email = onetwothree.email | |
) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment