Created
February 17, 2014 14:50
-
-
Save jbub/9051966 to your computer and use it in GitHub Desktop.
Export order emails as comma separated values.
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 string_agg(DISTINCT email, ',') FROM orders_order WHERE date_add >= '2013-12-20' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment