Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Mike.Khoroshun
.
Toggle Highlighting
SQL
WITH articles_countries AS ( SELECT country, page_title, sum(view_count) AS views FROM wmf.pageview_hourly WHERE year = 2018 AND month = 3 AND day = 15 GROUP BY country, page_title ) SELECT s.country AS country, s.page_title AS page_title, s.views AS views FROM ( SELECT max( named_struct( 'views', views, 'country', country, 'page_title', page_title ) ) AS s FROM articles_countries GROUP BY country ) t'
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...