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
KCVelaga (WMF)
.
Toggle Highlighting
SQL
SET @date = "20140101"; SET @n = 1; SELECT COUNT(*) FROM ( SELECT rev_user, SUM(revisions) AS revisions FROM ( SELECT rev_user, COUNT(*) AS revisions FROM revision WHERE rev_timestamp BETWEEN @date AND DATE_FORMAT(DATE_ADD(@date, INTERVAL 1 DAY), "%Y%m%d%H%i%S") AND rev_user > 0 GROUP BY 1 UNION ALL SELECT ar_user AS rev_user, COUNT(*) AS revisions FROM archive WHERE ar_timestamp BETWEEN @date AND DATE_FORMAT(DATE_ADD(@date, INTERVAL 1 DAY), "%Y%m%d%H%i%S") AND ar_user > 0 GROUP BY 1 ) AS user_revisions GROUP BY 1 ) AS editors LEFT JOIN user_groups ON ug_user = rev_user AND ug_group = "bot" WHERE ug_group IS NULL AND revisions >= @n;
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...