Created
February 14, 2019 19:52
-
-
Save fditrapani/3077fc5a637e2cad35e1a9734a9b60d9 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 | |
LOWER(ep2.value) as value, | |
count( * ) as counts | |
from | |
tracks.prod_events as events, | |
events.eventprops as ep, | |
events.eventprops as ep2 | |
where | |
dateymd between 20190110 and 20190212 and | |
eventname = 'wpcom_hook_wpmu_new_blog' and | |
ep.key = 'site_type' and | |
ep.value = 'business' and | |
ep2.key = 'site_topic' | |
group by value | |
order by counts desc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment