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, target.page_title FROM redirect LEFT JOIN page target ON rd_title = page_title LEFT JOIN page source ON rd_from = source.page_id WHERE rd_namespace = 0 AND rd_title LIKE 'شهرستان%' AND target.page_title LIKE 'بخش%' AND EXISTS ( SELECT * FROM templatelinks WHERE tl_from = target.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...