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
PhilipCro
.
Toggle Highlighting
SQL
use fawiki_p; select ll_lang, -- count(*), 100 * sum(para) / count(*), 100 * sum(comma) / count(*) from ( select ll_lang, case when locate('(', ll_title) > 0 then 1 else 0 end as para, case when locate('،', ll_title) > 0 OR locate(',', ll_title) > 0 then 1 else 0 end as comma from categorylinks c1 join page p1 on c1.cl_from = p1.page_id join langlinks on ll_from = c1.cl_from join page p2 on c1.cl_to = p2.page_title and p2.page_namespace = 14 join categorylinks c2 on p2.page_id = c2.cl_from and c2.cl_to = 'روستاها_در_ایالات_متحده_آمریکا_بر_پایه_ایالت' where p1.page_is_redirect = 0 ) t group by ll_lang having count(*) > 100;
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...