Created
November 9, 2018 07:17
-
-
Save aoxu/99c672a8177c32b069e159ca603f0579 to your computer and use it in GitHub Desktop.
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 | |
| DISTINCT user_id | |
| FROM | |
| `analytics_168921341.events_*` AS T, | |
| T.event_params | |
| WHERE | |
| event_name = 'tutorial_complete' | |
| AND event_params.key = 'guide_id' | |
| AND event_params.value.int_value = 51 | |
| AND geo.country = 'United States' /* 修改为指定国家 */ | |
| AND platform = 'ANDROID' | |
| AND _TABLE_SUFFIX BETWEEN '20181108' AND '20181108' /* 修改为events数据范围 */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment