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
Gauthammohanraj
.
Toggle Highlighting
SQL
WITH ALPHA AS ( SELECT count(page_title) AS count_title , page_title as title , CONCAT(MONTH(rev_timestamp),'-',YEAR(rev_timestamp)) as date , YEAR(rev_timestamp) as year, RANK() OVER(PARTITION BY YEAR(revision.rev_timestamp) ORDER BY MONTH(revision.rev_timestamp) , COUNT(page_title) ) as 'Rank' from page join revision on revision.rev_id = page.page_latest group by page_title order by Rank desc ) SELECT MAX(count_title) as EDITS , title , date , year from ALPHA group by date order by year
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...