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
Iluvatar
.
Toggle Highlighting
SQL
USE ruwiki_p; SELECT user_name, user_editcount FROM `user` WHERE user_editcount >= 2 AND user_editcount <= 50 AND NOT EXISTS (SELECT 1 FROM user_groups WHERE user_id=ug_user AND ug_group = 'bot') AND NOT EXISTS (SELECT 1 FROM page WHERE page_namespace = 3 AND page_title = REPLACE(user_name, ' ', '_')) AND NOT EXISTS (SELECT 1 FROM logging_logindex, page WHERE REPLACE(user_name, ' ', '_') = log_title AND log_type = 'delete' AND log_action = 'delete' AND log_namespace = 2) AND NOT EXISTS (SELECT 1 FROM logging_logindex WHERE user_name = log_title AND log_type = 'block' AND log_action = 'block') AND (SELECT COUNT(*) FROM revision_userindex WHERE rev_user = user_id AND rev_timestamp >= 20180526000000);
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...