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
Darcyisverycute
.
Toggle Highlighting
SQL
select distinct page_title from page , category as catdepth1a , category as catdepth2 , category as catdepth3 , category as catdepth4 , category as catdepth5 , category as catdepth6 join templatelinks t1 on t1.tl_from = page_id join categorylinks cl on cl.cl_from = page_id where page_namespace = 0 and page_is_redirect = 0 and catdepth1.cat_title = "Redirect_templates" and catdepth2 in (select cat_title from catdepth1a) and catdepth3 in (select cat_title from catdepth2) and catdepth4 in (select cat_title from catdepth3) and catdepth5 in (select cat_title from catdepth4) and catdepth6 in (select cat_title from catdepth5) and (cl.to in (select cat_title from catdepth1a)) limit 50
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...