Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Non-redirects in redirect only category (narrow)
by
Novem Linguae
This query is marked as a draft
This query has been published
by
Novem Linguae
.
https://en.wikipedia.org/wiki/Wikipedia:Request_a_query#Redirects_with_Possibilities For Gonzo fan2007
Toggle Highlighting
SQL
SELECT Pa.page_title FROM categorylinks JOIN page Pa ON Pa.page_namespace = 0 AND Pa.page_id = cl_from -- category 1 (categorized page in main namespace) WHERE cl_to = "Redirects_with_possibilities" AND EXISTS ( SELECT 1 FROM page Pt2 WHERE Pt2.page_title = Pa.page_title AND Pt2.page_namespace = 1 ) AND EXISTS ( SELECT 1 FROM page Pt, categorylinks WHERE Pt.page_title = Pa.page_title AND Pt.page_namespace = 1 AND cl_from = Pt.page_id -- category 2 (categorized page in talk namespace) AND cl_to = "Redirect-Class_Green_Bay_Packers_articles" ) ORDER BY page_title
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...