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
Erutuon
.
Toggle Highlighting
SQL
with prefixes(index_prefix) as ( values ('Chinese Cangjie'), ('Chinese four corner'), ('Chinese Zhuyin'), ('Chinese radical'), ('Chinese total strokes'), ('Mandarin Pinyin'), ('Cantonese Jyutping') ) select index_prefix, source.page_namespace as link_from_namespace, count(*) as link_count, target.page_id is not null as link_target_exists from prefixes join pagelinks on pl_namespace = 104 /* Index */ and pl_title like concat(replace(index_prefix, ' ', '\_'), '%') join page as source on source.page_id = pl_from left join page as target on target.page_namespace = pl_namespace and target.page_title = pl_title group by source.page_namespace, index_prefix, link_target_exists order by link_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...