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
Dalba
.
مقالههایی از شهرستانهای ایران که از عنوانی «بخش...» تغییرمسیر دارند. ایرانی بودن از روی داشتن الگویی با عنوان ایران تشخیص داده شده.
Toggle Highlighting
SQL
USE fawiki_p; SELECT DISTINCT rd_title, p2.page_title FROM redirect LEFT JOIN page p1 ON rd_title = page_title left join page p2 on rd_from = page_id WHERE page_namespace = 0 AND page_title LIKE 'شهرستان%' AND exists ( SELECT * FROM page WHERE page_title LIKE 'بخش%' ) AND exists ( select * from templatelinks where tl_from=page_id and tl_title like "%ایران%" )
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...