Last active
November 15, 2018 09:26
-
-
Save aoxu/824ad14ee554414282d4eb467bf446d7 to your computer and use it in GitHub Desktop.
[查询指定用户id在指定日期范围内的所有数据]#BigQuery
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 | |
* | |
FROM | |
`analytics_168921341.events_*` AS T, | |
T.event_params | |
WHERE | |
/* event_name = 'sign_up' */ | |
/* AND event_params.key = 'guide_id' | |
AND event_params.value.int_value = 51 */ | |
/* AND geo.country = 'United States'*/ /* 修改为指定国家 */ | |
/* AND platform = 'ANDROID' */ | |
user_id = '86715' | |
AND _TABLE_SUFFIX BETWEEN '20181112' AND '20181112' /* 修改为events数据范围 */ | |
LIMIT 100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment