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
Msz2001
.
Toggle Highlighting
SQL
SET @time_start := '20230331230000'; SET @time_end := '20240331230000'; SELECT *, cnt_ns4 / cnt_ns0 as "cnt ns4/ns0" FROM ( SELECT actor_name, SUM(page_namespace = 0) as cnt_ns0, SUM(page_namespace = 4) as cnt_ns4 FROM revision JOIN actor ON rev_actor = actor_id JOIN page ON rev_page = page_id WHERE rev_timestamp BETWEEN @time_start AND @time_end AND page_namespace IN(0, 4); GROUP BY actor_name LIMIT 500 ) t ORDER BY 4 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...