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
NmWTfs85lXusaybq
.
Toggle Highlighting
SQL
/* select lt_title, page_title from linktarget join templatelinks on tl_target_id = lt_id join page on page_id = tl_from and page_namespace = 0 where lt_namespace = 10 and lt_title in ( select page_title from page where page_namespace = 10 and page_id in ( select tl_from from templatelinks where tl_target_id in ( select lt_id from linktarget where lt_title = 'Template_reference_list' and lt_namespace = 10 ) ) ) and page_id in ( select tl_from from templatelinks where tl_target_id in ( select lt_id from linktarget where lt_title = 'Template_reference_list' and lt_namespace = 10 ) ) */ /* select page_title from page where page_namespace = 0 and page_id in ( select tl_from from templatelinks where tl_target_id in ( select lt_id from linktarget where lt_title = 'Template_reference_list' and lt_namespace = 10 ) ) */ with recursive transclusion as ( select page_namespace, page_title, page_id from page where page_id in ( select tl_from from templatelinks where tl_target_id in ( select lt_id from linktarget where lt_title = 'Template_reference_list' and lt_namespace = 10 ) ) ), search as ( select * as path from transclusion where page_namespace = 0 union distinct select lt_title, page_title from linktarget join templatelinks on tl_target_id = lt_id join search on page_id = tl_from where lt_namespace = 10 and lt_title != 'Template_reference_list' and lt_title in ( select page_title from transclusion where page_namespace = 10 ) ) select * from search limit 10
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...