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
Huji
.
Toggle Highlighting
SQL
use fawiki_p; SELECT user_name, SUM(freq) AS total_edits FROM ( SELECT page_title, CASE WHEN LOCATE('/', page_title) > 0 THEN LEFT(page_title, LOCATE('/', page_title) - 1) ELSE page_title END AS user_name, freq FROM ( SELECT page_title, COUNT(*) freq FROM page JOIN revision ON rev_page = page_id WHERE page_namespace = 3 AND rev_timestamp > '20190101000000' GROUP BY page_title HAVING COUNT(*) > 50 ) page_level ) user_level GROUP BY user_name ORDER BY total_edits 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...