Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Count contributions of last 30 days in ptwiki
by
Chicocvenancio
This query is marked as a draft
This query has been published
by
Chicocvenancio
.
Get editcount for last 30 days for ptwikivoyage, without ips or protections and other loggable actions.
Toggle Highlighting
SQL
SELECT CONCAT('User:', rc_user_text, '@', wiki, 'wikipedia'), num_contribs FROM (SELECT rc_user_text, COUNT(1) AS num_contribs, 'sw' as wiki from swwiki_p.recentchanges WHERE rc_logid = 0 AND rc_user != 0 and rc_bot = 0 and rc_user_text != "Salebot" and rc_user_text != "MediaWiki message delivery" and rc_user_text != "CommonsDelinker" GROUP BY rc_user Having COUNT(1) > 1 UNION ALL SELECT rc_user_text, COUNT(1) AS num_contribs, 'wo' as wiki from wowiki_p.recentchanges WHERE rc_logid = 0 AND rc_user != 0 and rc_bot = 0 and rc_user_text != "Salebot" and rc_user_text != "MediaWiki message delivery" and rc_user_text != "CommonsDelinker" GROUP BY rc_user Having COUNT(1) > 1 UNION ALL SELECT rc_user_text, COUNT(1) AS num_contribs, 'zu' as wiki from zuwiki_p.recentchanges WHERE rc_logid = 0 AND rc_user != 0 and rc_bot = 0 and rc_user_text != "Salebot" and rc_user_text != "MediaWiki message delivery" and rc_user_text != "CommonsDelinker" GROUP BY rc_user Having COUNT(1) > 1 UNION ALL SELECT rc_user_text, COUNT(1) AS num_contribs, 'xh' as wiki from xhwiki_p.recentchanges WHERE rc_logid = 0 AND rc_user != 0 and rc_bot = 0 and rc_user_text != "Salebot" and rc_user_text != "MediaWiki message delivery" and rc_user_text != "CommonsDelinker" GROUP BY rc_user Having COUNT(1) > 1 UNION ALL SELECT rc_user_text, COUNT(1) AS num_contribs, 'arz' as wiki from arzwiki_p.recentchanges WHERE rc_logid = 0 AND rc_user != 0 and rc_bot = 0 and rc_user_text != "Salebot" and rc_user_text != "MediaWiki message delivery" and rc_user_text != "CommonsDelinker" GROUP BY rc_user Having COUNT(1) > 1 UNION ALL SELECT rc_user_text, COUNT(1) AS num_contribs, 'bm' as wiki from bmwiki_p.recentchanges WHERE rc_logid = 0 AND rc_user != 0 and rc_bot = 0 and rc_user_text != "Salebot" and rc_user_text != "MediaWiki message delivery" and rc_user_text != "CommonsDelinker" GROUP BY rc_user Having COUNT(1) > 1 UNION ALL SELECT rc_user_text, COUNT(1) AS num_contribs, 'af' as wiki from afwiki_p.recentchanges WHERE rc_logid = 0 AND rc_user != 0 and rc_bot = 0 and rc_user_text != "Salebot" and rc_user_text != "MediaWiki message delivery" and rc_user_text != "CommonsDelinker" GROUP BY rc_user Having COUNT(1) > 1 ORDER BY num_contribs DESC) as t GROUP BY rc_user_text;
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...