Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Links to some Chinese indices on English Wiktionary
by
Erutuon
This query is marked as a draft
This query has been published
by
Erutuon
.
Toggle Highlighting
SQL
select root_page_title, source.page_namespace as link_from_namespace, count(*) as link_count, link_target_exists from ( select substring_index(pl_title, '/', 1) as root_page_title, target.page_id is not null as link_target_exists, pl_from from pagelinks left join page as target on target.page_namespace = pl_namespace and target.page_title = pl_title where pl_namespace = 104 /* Index */ ) as index_links join page as source on source.page_id = pl_from 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...