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 u WHERE user_name = 'Teslaton' AND user_registration < DATE_FORMAT(DATE_SUB("2019-07-01 00:00:00", INTERVAL 2 MONTH), '%Y%m%d%H%i%s') AND user_editcount >= 200 AND -- rough filter to reduce number of rows to be filtered by correlated subqueries -- (select count(*) from revision r, page p where p.page_id = r.rev_page AND r.rev_actor = u.user_id AND p.page_namespace = 0 AND r.rev_timestamp < DATE_FORMAT("2019-07-01 00:00:00", '%Y%m%d%H%i%s')) >= 200 AND (select count(*) from revision r, actor a where a.actor_id = r.rev_actor and a.actor_user = u.user_id) >= 50 ORDER BY u.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...