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
.
populated places 9, 0 villages 11, 3 cities 34, 0
Toggle Highlighting
SQL
USE fawiki_p; SELECT pl_title FROM pagelinks WHERE pl_from = 4092254 # ویکیپدیا:ویکیپروژه تقسیمات کشوری ایران/فاز دوم/تقسیمات کشوری ۱۳۹۵ AND pl_title LIKE "شهرستان%" AND REPLACE(REPLACE(REPLACE(CONCAT('مناطق_مسکونی_در_',pl_title),'_',''),'',''),'ی','ئ') NOT IN ( #AND CONCAT('روستاهای_',pl_title) NOT IN ( #AND CONCAT('شهرهای_',pl_title) NOT IN ( SELECT REPLACE(REPLACE(REPLACE(page_title),'_',''),'',''),'ی','ئ') FROM page WHERE page_namespace = 14 AND page_is_redirect = 0 )
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...