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
Whym
.
Toggle Highlighting
SQL
USE jawiki_p; SELECT user_name, user_registration, user_editcount, COUNT(rc_d) AS one_month_main_space FROM user JOIN recentchanges_userindex ON user_id = rc_user WHERE user_editcount >= 50 AND user_registration < REGEXP_REPLACE(DATE_SUB(NOW(), INTERVAL 1 month), "[ :\-]", "") AND rc_timestamp > REGEXP_REPLACE(DATE_SUB(NOW(), INTERVAL 1 month), "[ :\-]", "") AND (SELECT COUNT(*) FROM revision JOIN page ON rev_page = page_id WHERE page_namespace = 0 LIMIT 50) = 50 AND rc_namespace = 0 GROUP BY user_id HAVING COUNT(*) >= 5 ORDER BY user_editcount 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...