Created
March 8, 2012 10:41
-
-
Save danmatthews/2000345 to your computer and use it in GitHub Desktop.
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 e.date_subscribed, | |
countries.name | |
FROM countries | |
JOIN contacts c | |
LEFT OUTER JOIN contacts_economic_updates_countries e | |
ON e.country_name = countries.name | |
WHERE c.contact_id='80d0624061395e3d9f108165cd163e004a2ed12e37def2995f866d82dd40b3f2' | |
ORDER BY countries.name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment