Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Select bigger articles among two wikis, which are not present in ukrainian
by
Alex Blokha
This query is marked as a draft
This query has been published
by
Alex Blokha
.
Select bigger articles among two wikis, which are not present in ukrainian
Toggle Highlighting
SQL
SET @r = 0; SELECT @r := @r+1, enp.page_title as en_title, enp.page_len as en_len, dep.page_title as de_title, dep.page_len as de_len FROM plwiki_p.page enp JOIN plwiki_p.langlinks enll ON enll.ll_from = enp.page_id and ll_lang="ru" join ruwiki_p.page dep on enll.ll_title = REPLACE(dep.page_title, '_', ' ') WHERE enp.page_namespace = 0 and enp.page_is_redirect = 0 and dep.page_namespace = 0 and dep.page_is_redirect = 0 AND enp.page_id NOT IN ( SELECT ll_from FROM plwiki_p.langlinks WHERE ll_lang = "uk" ) AND enp.page_id IN ( SELECT ll_from FROM plwiki_p.langlinks WHERE ll_lang = "en" ) AND enp.page_id IN ( SELECT ll_from FROM plwiki_p.langlinks WHERE ll_lang = "de" ) GROUP BY enp.page_id HAVING (dep.page_len*1.2) < enp.page_len and enp.page_len> 5000 LIMIT 50
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...