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
USE fawiki_p; SELECT page_title, frst.cl_to#, scnd.cl_to FROM page JOIN categorylinks AS frst ON frst.cl_from = page_id JOIN categorylinks AS scnd ON scnd.cl_from = page_id WHERE page_namespace = 0 AND page_is_redirect = 0 #AND pp_propname <> 'hiddencat' #AND pl_namespace = 14 AND scnd.cl_to IN ( SELECT pl_title FROM pagelinks JOIN page ON pl_from = page_id WHERE page_title = frst.cl_to AND pl_from_namespace = 14 AND pl_namespace = 14 ) #AND page_title = 'گاهنامه' 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...