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
A smart kitten
.
Toggle Highlighting
SQL
set @dab_pageids := ( select GROUP_CONCAT(cl_from) from categorylinks where cl_to = "All_disambiguation_pages" ); select * from categorylinks inner join redirect on rd_from = cl_from inner join page as origin_page on origin_page.page_id = cl_from inner join page as target_page on target_page.page_namespace = rd_namespace and target_page.page_title = rd_title where cl_to = "Redirects_connected_to_a_Wikidata_item" and FIND_IN_SET(page_id, @dab_pageids) limit 3;
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...