Fork of
Untitled query #14329
by XXN
This query is marked as a draft
This query has been published
by Alex Blokha.
SQL
AخA
SELECT
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 enwiki_p.page enp
JOIN enwiki_p.langlinks enll
ON enll.ll_from = enp.page_id and ll_lang="de"
join dewiki_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 enwiki_p.langlinks WHERE ll_lang = "uk"
)
/*AND NOT (CASE enll.ll_lang WHEN 'uk' THEN 1 ELSE 0 END) = 0 */
GROUP BY enp.page_id
HAVING dep.page_len > enp.page_len
LIMIT 10
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.