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
Edgars2007
.
Toggle Highlighting
SQL
use enwiki_p; select l.ll_from, count(l.ll_lang) from langlinks l where l.ll_from in (select tl.tl_from from templatelinks tl where tl.tl_title="Infobox_NRHP" and tl_namespace=10 and tl.tl_from_namespace=0) and l.ll_from not in (select m.ll_from from langlinks m where m.ll_lang="lv") group by l.ll_from having count(l.ll_lang)>20 order by count(l.ll_lang) desc /* use lvwiki_p; select l.ll_from, count(l.ll_lang) from langlinks l where l.ll_from=289120 and l.ll_from not in (select m.ll_from from langlinks m where m.ll_lang="lv") # and ll_lang<>"ru" group by l.ll_from #having l.ll_from not in (select distinct ll_from from langlinks where ll_lang = "ru") limit 20; */
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...