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
لوقا
.
Toggle Highlighting
SQL
SELECT actor_name, (SELECT SUM("yc") FROM ( SELECT COUNT(rev_id) as "yc" FROM revision WHERE rev_actor = actor_id AND rev_timestamp < DATE_SUB(NOW(), INTERVAL 1 DAY) UNION ALL SELECT COUNT(ar_id) as "yc" FROM archive WHERE ar_actor = actor_id AND ar_timestamp < DATE_SUB(NOW(), INTERVAL 1 DAY) ) ) as "sum_yc", (SELECT SUM("tc") FROM ( SELECT COUNT(rev_id) as "tc" FROM revision WHERE rev_actor = actor_id UNION ALL SELECT COUNT(ar_id) "tc" FROM archive WHERE ar_actor = actor_id ) ) as "sum_tc" FROM actor WHERE actor_name in (select REPLACE(pl_title, '_', ' ') from pagelinks where
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...