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 #concat('* ',count(l.ll_lang),' [[',p.page_title,']]') #concat('* ',count(l.ll_lang),'// [[:en:',p.page_title,']]') p.page_title, count(l.ll_lang) from langlinks l join page p on p.page_id=l.ll_from where p.page_namespace=0 and p.page_title in (select distinct pla.page_title from categorylinks cla join page pla on cla.cl_from=pla.page_id# and cla.tl_from_ where pla.page_namespace=1 and cla.cl_type="page" and cla.cl_to in ("WikiProject_Chemistry_articles") ) #where pla.page_namespace=1 and cla.cl_type="page" and cla.cl_to="WikiProject_Russia_articles") and l.ll_from not in (select m.ll_from from langlinks m where m.ll_lang="lv") #and l.ll_from not in (select m.ll_from from langlinks m where m.ll_lang="en") group by l.ll_from #having count(l.ll_lang)>20 order by count(l.ll_lang) desc limit 5000;/* use enwiki_p; select concat('* ',count(l.ll_lang),' [[',p.page_title,']]') #concat('* ',count(l.ll_lang),'// [[:en:',p.page_title,']]') #p.page_title, count(l.ll_lang) from langlinks l join page p on p.page_id=l.ll_from where p.page_namespace=0 and p.page_title in (select distinct pla.page_title from categorylinks cla join page pla on cla.cl_from=pla.page_id# and cla.tl_from_ where pla.page_namespace=1 and cla.cl_type="page" and cla.cl_to in ("World_War_II_task_force_articles") ) #where pla.page_namespace=1 and cla.cl_type="page" and cla.cl_to="WikiProject_Russia_articles") and l.ll_from not in (select m.ll_from from langlinks m where m.ll_lang="lt") #and l.ll_from not in (select m.ll_from from langlinks m where m.ll_lang="en") group by l.ll_from #having count(l.ll_lang)>20 order by count(l.ll_lang) desc limit 500; ar veidni: select p.page_title from templatelinks pl join page p on pl.tl_from_namespace=p.page_namespace and p.page_id=pl.tl_from where pl.tl_from_namespace=1 and pl.tl_title="Статья_проекта_Латвия" ar kategoriju where p.page_namespace=0 and p.page_title in (select pla.page_title from categorylinks cla join page pla on cla.cl_from=pla.page_id# and cla.tl_from_ where pla.page_namespace=1 and cla.cl_type="page" and cla.cl_to="WikiProject_Linguistics_articles") use enwiki_p; select p.page_title, count(l.ll_lang) from langlinks l join page p on p.page_id=l.ll_from where p.page_namespace=0 and p.page_title in (select pla.page_title from categorylinks cla join page pla on cla.cl_from=pla.page_id# and cla.tl_from_ where pla.page_namespace=1 and cla.cl_type="page" and cla.cl_to="All_Wikipedia_level-4_vital_articles") and p.page_title in (select pla.page_title from categorylinks cla join page pla on cla.cl_from=pla.page_id# and cla.tl_from_ where pla.page_namespace=1 and cla.cl_type="page" and (cla.cl_to="Wikipedia_featured_articles" or cla.cl_to="Wikipedia_good_articles")) and l.ll_from not in (select m.ll_from from langlinks m where m.ll_lang="lv") #and l.ll_from not in (select m.ll_from from langlinks m where m.ll_lang="en") group by l.ll_from having count(l.ll_lang)>20 order by count(l.ll_lang) desc */
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...