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
BrandonXLF
.
Toggle Highlighting
SQL
SELECT cl_from, cl_sortkey, page_namespace, page_title FROM ( SELECT cl_from, cl_sortkey, NULL AS page_namespace, NULL AS page_title FROM categorylinks WHERE cl_to = 'X1' UNION SELECT cl_from, cl_sortkey, page_namespace, page_title FROM redirect JOIN page ON page_id = rd_from JOIN categorylinks ON cl_to = page_title WHERE rd_title = 'X1' AND rd_namespace = 14 ) AS temp JOIN page ON cl_from = page_id LEFT JOIN category ON cat_id = page_id AND page_namespace = 14
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...