Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
% of articles in WikiProject with given language equivalent
by
The wub
This query is marked as a draft
This query has been published
by
The wub
.
Toggle Highlighting
SQL
WITH t AS ( SELECT ll_lang, article.page_id AS pid FROM page talk INNER JOIN page article ON talk.page_title = article.page_title INNER JOIN categorylinks ON cl_from = talk.page_id LEFT JOIN langlinks ON ll_from = article.page_id WHERE talk.page_namespace = 1 AND article.page_namespace = 0 AND cl_to IN ( "Top-importance_London-related_articles", "High-importance_London-related_articles", "Mid-importance_London-related_articles", "Low-importance_London-related_articles", "NA-importance_London-related_articles", "Unknown-importance_London-related_articles" ) ) SELECT ll_lang AS lang, COUNT( pid ) AS articles, ROUND( COUNT( pid ) * 100 / ( SELECT COUNT( DISTINCT pid ) FROM t ), 2 ) AS percent_of_en FROM t GROUP BY ll_lang ORDER BY articles 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...