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
Athuillier
.
Toggle Highlighting
SQL
use enwiki_p; select CONCAT('Category:', cl_to) as category_name, count(*) as fawiki_counterparts from ( select cl_to from categorylinks join page on page_id = cl_from join langlinks on ll_from = cl_from and ll_lang = 'fr' where cl_to in ( select page_title from categorylinks join page on page_id = cl_from where cl_to = 'People_in_sports_by_nationality' ) ) t join page on page_title = cl_to and page_namespace = 14 -- category left join langlinks on ll_from = page_id and ll_lang = 'fr' where ll_title is null group by cl_to order by count(*) 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...