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
XXN
.
Toggle Highlighting
SQL
use enwiki_p; select concat('# [[:en:',p.page_title,']] // [[:d:',pp_value,']] — ',count(l.ll_lang)) from langlinks l join page p on p.page_id=l.ll_from JOIN (SELECT * FROM page_props WHERE pp_propname = 'wikibase_item') AS props ON pp_page = p.page_id join page p2 on p.page_title=p2.page_title #JOIN templatelinks ON tl_from=p2.page_id where p.page_namespace=0 and p2.page_id in (select tl_from from templatelinks where tl_namespace=10 and tl_from_namespace=1 and tl_title in ("WikiProject_Physics","PHYSICS", "Physics","WP_Physics","WPPHYSICS","WPPhysics"))/* where tl_namespace=10 and tl_from_namespace=1 and tl_title in ("WikiProject_France","France","WP France", "WPFR","WPFRANCE","WPFrance","WPfr","Wikiproject France"))*/ and l.ll_from not in (select m.ll_from from langlinks m where m.ll_lang="ro") group by l.ll_from #having count(l.ll_lang)>20 order by count(l.ll_lang) desc limit 1000;
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...