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
OTAVIO1981
.
editors with more than 300 edits in domain 0 at ptwiki
Toggle Highlighting
SQL
use ptwiki_p; SET @n = 100; /* edits threshold */ SELECT user FROM ( /* Get revisions to content pages that are still visible */ SELECT rev_user_text as user, SUM(rev_id IS NOT NULL) AS revisions FROM revision WHERE rev_user != 0 AND rev_timestamp BETWEEN 20161027000000 and 20160927000000 GROUP BY user UNION ALL /* Get revisions to content pages that have been archived */ SELECT ar_user as user, SUM(ar_id IS NOT NULL) AS revisions FROM archive WHERE ar_user != 0 AND ar_timestamp BETWEEN 20161027000000 and 20161020000000 and ar_namespace = 0 GROUP BY user ) AS user_content_revision_count GROUP BY user HAVING SUM(revisions) >= @n;
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...