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 AS 'عنوان مقاله', rd_source.page_title AS 'عنوان صفحهٔ تغییرمسیر' FROM redirect LEFT JOIN page rd_target ON rd_title = page_title LEFT JOIN page rd_source ON rd_source.page_id = rd_from WHERE rd_namespace = 0 AND rd_source.page_title LIKE 'بخش%' AND rd_target.page_title LIKE 'شهرستان%' AND EXISTS ( SELECT * FROM templatelinks WHERE tl_from = rd_target.page_id AND tl_title LIKE "%ایران%" ) GROUP BY rd_title;
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...