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
Ravidreams
.
Toggle Highlighting
SQL
SELECT page_title, SUM(daily_views) as total_views FROM wmf.pageview_hourly JOIN wiki_p.page on page_id = pv_page_id JOIN wiki_p.revision on rev_page=page_id JOIN wiki_p.user on rev_user=user_id WHERE page_namespace = 0 AND user_name = "ravidreams" AND pv_timestamp >= DATE_SUB(CURDATE(), INTERVAL 1 MONTH) AND rev_timestamp = (SELECT max(rev_timestamp) FROM wiki_p.revision rev2 WHERE rev2.rev_page=rev_page ) GROUP BY page_title ORDER BY total_views DESC ;
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...