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 user_id | |
FROM `facebook_active_user_201303` | |
WHERE page_id = '145649977189' | |
AND startdate = '2013-03-01' | |
AND period = 'month' | |
AND user_id | |
IN | |
( | |
SELECT user_id | |
FROM `facebook_active_user_201303` | |
WHERE page_id = '152341009257' | |
AND startdate = '2013-03-01' | |
AND period = 'month' | |
) |
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 user_id | |
FROM `facebook_active_user_201303` | |
WHERE ( | |
page_id = '145649977189' | |
OR page_id = '152341009257' | |
) | |
AND startdate = '2013-03-01' | |
AND period = 'month' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment