Last active
August 22, 2018 10:44
-
-
Save ilyasahsan123/3d8ac87acf31ae90ca448092a5c9d832 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 u.display_name | |
,s.amount | |
,u.location | |
from [bigquery-public-data:stackoverflow.users] u | |
join ( | |
select s.owner_user_id, | |
count(*) amount | |
from [bigquery-public-data:stackoverflow.posts_questions] s | |
group by s.owner_user_id | |
) s | |
on s.owner_user_id = u.id | |
where REGEXP_MATCH(u.location, '(?i)indonesia') | |
order by s.amount desc | |
limit 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment