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
Teslaton
.
Toggle Highlighting
SQL
USE skwiki_p; SELECT user_name, user_registration, user_editcount FROM user WHERE user_registration < DATE_FORMAT(DATE_SUB(now() /* '2019-07-01 00:00:00' */, INTERVAL 2 MONTH), '%Y%m%d%H%i%s') AND user_editcount >= 200 AND user_id IN (SELECT DISTINCT actor_user FROM revision r, actor a WHERE a.actor_id = r.rev_actor AND r.rev_timestamp >= DATE_FORMAT(DATE_SUB(now() /* '2019-07-01 00:00:00' */, INTERVAL 2 MONTH), '%Y%m%d%H%i%s') GROUP BY actor_user HAVING count(*) >= 50) AND user_id IN (SELECT DISTINCT actor_user FROM revision r, actor a, page p WHERE p.page_id = r.rev_page AND a.actor_id = r.rev_actor AND p.page_namespace = 0 AND r.rev_timestamp < DATE_FORMAT(now() /* '2019-07-01 00:00:00' */, '%Y%m%d%H%i%s') GROUP BY actor_user HAVING count(*) >= 200) AND user_id NOT IN (SELECT ug_user FROM user_groups WHERE ug_group = 'bot') ORDER BY user_name ;
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...