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
Saeidpourbabak
.
Toggle Highlighting
SQL
SELECT DISTINCT catarlan.ll_title, catar.page_namespace, cl_to, catlan.ll_title FROM enwiki_p.langlinks AS catarlan JOIN enwiki_p.page AS catar ON ll_from = page_id AND catar.page_is_redirect = 0 AND catarlan.ll_lang = 'fa' AND catar.page_namespace = 0 # or 14 JOIN enwiki_p.categorylinks ON page_id = cl_from JOIN enwiki_p.page AS cat ON cat.page_title = cl_to AND cat.page_is_redirect = 0 AND cat.page_namespace = 14 JOIN enwiki_p.langlinks AS catlan ON catlan.ll_title = cl_to AND catlan.ll_lang = 'fa' AND ( cl_to LIKE "Disestablishments_in_Antarctica_by_century" OR cl_to LIKE "Railway_stations_in_Berkshire" );
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...