Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Iranian villages with paranthesis or comma in their names
by
Huji
This query is marked as a draft
This query has been published
by
Huji
.
Toggle Highlighting
SQL
use fawiki_p; select count(*), 100 * sum(para) / count(*), 100 * sum(comma) / count(*) from ( select ll_lang, case when locate('(', ll_to) > 0 then 1 else 0 end as para, case when locate('،', ll_to) > 0 then 1 else 0 end as comma from categorylinks join page on cl_from = page_id and cl_to = 'مقالههای_روستاهای_ایران' join langlinks on ll_from = cl_from where page_is_redirect = 0 ) t group by ll_lang;
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...