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
MarioGom
.
Toggle Highlighting
SQL
SET STATEMENT max_statement_time = 300 FOR SELECT user_name, total, weekdays FROM ( SELECT rc_actor, COUNT(*) AS total, SUM( CASE WHEN day = 1 THEN 0 WHEN day = 7 THEN 0 ELSE 1 END ) AS weekdays FROM ( SELECT rc_actor, DAYOFWEEK(rc_timestamp) AS day FROM recentchanges WHERE rc_ip IS NULL AND rc_bot = 0 ) AS q GROUP BY rc_actor ) AS p INNER JOIN actor ON p.rc_actor = actor.actor_id INNER JOIN user ON actor.actor_user = user.user_id WHERE total >= 20 AND total = weekdays AND user_registration IS NOT NULL AND user_registration >= "20190101000000" ORDER BY total 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...