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.actor_name, SUM(yc_sum.cnt) AS sum_yc, SUM(tc_sum.cnt) AS sum_tc FROM actor JOIN (SELECT rev_actor, COUNT(rev_id) AS cnt FROM revision WHERE rev_timestamp < 20221201000000 GROUP BY rev_actor) yc_sum ON yc_sum.rev_actor = actor.actor_id JOIN (SELECT ar_actor, COUNT(ar_id) AS cnt FROM archive WHERE ar_timestamp < 20221201000000 GROUP BY ar_actor) yc_sum ON yc_sum.ar_actor = actor.actor_id JOIN (SELECT rev_actor, COUNT(rev_id) AS cnt FROM revision GROUP BY rev_actor) tc_sum ON tc_sum.rev_actor = actor.actor_id JOIN (SELECT ar_actor, COUNT(ar_id) AS cnt FROM archive GROUP BY ar_actor) tc_sum ON tc_sum.ar_actor = actor.actor_id WHERE actor_name IN (SELECT REPLACE(pl_title, '_', ' ') FROM pagelinks WHERE pl_from = 7519882) GROUP BY actor.actor_name LIMIT 10;
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...