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, dist_days FROM ( SELECT rc_actor, COUNT(*) AS total, SUM( CASE WHEN day = 1 THEN 0 WHEN day = 7 THEN 0 ELSE 1 END ) AS weekdays, COUNT(DISTINCT day) AS dist_days FROM ( SELECT rc_actor, DAYOFWEEK(rc_timestamp) AS day FROM recentchanges INNER JOIN change_tag ON recentchanges.rc_id = change_tag.ct_rc_id INNER JOIN change_tag_def ON change_tag.ct_tag_id = change_tag_def.ctd_id WHERE rc_ip IS NULL AND rc_bot = 0 -- AND change_tag_def.ctd_name = 'visualeditor' ) 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 dist_days = 5 AND user_registration IS NOT NULL AND user_registration >= "20210401000000" -- AND user_registration < "20200101000000" AND user_name NOT LIKE '%Bot' AND user_name NOT IN ('0live1950', '50bottlesIO', '50bottlesIO', '60clawsand20paws', '70smanforever', '795Disco', 'AICross97', 'AbellaAmor', 'Aegis of Athena', 'Afiwee', 'Alexandrakatz01', 'Allishaishaque17', 'Amila1921', 'Aml9x', 'ArchivesandLetters', 'Basktimrobbins', 'Basktimrobbins', 'Beyourselfbee', 'Blubewwy', 'Brownkr', 'Canse34', 'Carguetajr', 'Ceb3697', 'Cindydaily', 'Claederis17', 'CloodM', 'CollinParrott', 'Cosmiccoffee111', 'Crispclear', 'CruzingNC91', 'DXLB Muzikant', 'Deadlytrouble', 'Dfbriones', 'Diamondchandelier', 'DramaLlama2021', 'E1!Watts1!', 'EMarkel-JoyetAPS', 'Edaizemlia', 'Elite Pat92', 'Elliswiki7', 'English2017', 'ExpertExplorr', 'Ezayek', 'Ezzgo', 'Fadew', 'Faheemfahms', 'FirstPrezzzz1776', 'GetSoHigh', 'Givemedonuts', 'Gkakekoi98', 'Gkc1021', 'Golden Ranky', 'GreenTea32', 'HRVEF', 'Hammy197062', 'Holmes1t1s', 'Hunter1n1990', 'IGA1587', 'IWasMadeWalker', 'Icysquares', 'Illrunwithyou', 'Incrdiblehumans87', 'Isabel María Pozo Canales', 'Jadugar9211', 'JameezWiki', 'JeanSplicing', 'JerseyGrrrl87', 'Jfaulstick', 'Jmmansfield', 'JordanPotter', 'Josh49Matthews', 'Jpl1976', 'Jsalads', 'KS1983', 'Kasens', 'KissingYou7676', 'Kkkikki', 'Laurdurham', 'Lego8910', 'Likeanechointheforest', 'MAGICPOKEMON', 'MaddyHGO1', 'MaeYoung61', 'Maketimus', 'Malikn55', 'MattWeinstein', 'MayaMoss123456', 'Mayerhofere1', 'Me1234567891011thunderstorm', 'Mishalbkhan', 'Misskenny21', 'Monday123456789', 'Mountainairy', 'Mr. Anonymous 24624680', 'NDSL DI', 'Ndexxx', 'NightFall60', 'Nikcmortimer', 'Nousername46000', 'Nuintern2021', 'OakkRaider', 'PatStarIsHere', 'Patrickstephenbrown', 'PeachyPit82', 'Postsute', 'Quaenuncabibis', 'Quinton.Quagliano', 'RWBN80', 'RWBN80', 'Rabbits5961', 'RandomName15Z', 'Raspyerries', 'RealPharmer3', 'Redoryxx', 'Rhieditz', 'RobertoCA126', 'Roxburytimes', 'Savlatt', 'ScotsMussels', 'SharpingShuns', 'Sheepies', 'Siperez', 'SoupBeans', 'SpiritGirl809', 'Staplerhorse', 'SyrOrange88', 'Tfindlay44', 'ThatLaurelGirl', 'The Alaskan Gremlin', 'Themostbeautifulone', 'Tigerwarfair', 'Timeousbeastie', 'Tol', 'Tom Ellis', 'Triminow', 'Triminow', 'Truwsetu3', 'Tui16726', 'UriChangmas', 'Usdzar1', 'Vhhhhjhgy', 'WanderRays', 'Weilh', 'Westcoastgal11', 'Wherechessies', 'Wikigetsme123', 'WrightBro571', 'Writersagera', 'Wubbox', 'XFreecss', 'Yolowill', 'Ádhamh Mac Conchobhair') 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...