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 bgwiki_p; select page_title, pp_value from page LEFT JOIN langlinks ON ll_from = page_id JOIN (SELECT * FROM page_props WHERE pp_propname = 'wikibase_item') AS props ON pp_page = page_id join categorylinks on page_id=cl_from where page_is_redirect = 0 AND page_namespace = 0 and cl_to = "Пояснителни_страници"#Страницы_разрешения_неоднозначностей:_населённые_пункты and page_title not like "%(пояснение)" and page_title/*REPLACE(page_title, '_(пояснение)', '')*/ in (/*select REPLACE(pu.page_title, '_(значення)', '') from ukwiki_p.page pu join ukwiki_p.categorylinks c1 on pu.page_id=c1.cl_from and c1.cl_to in ("Багатозначні_топоніми", "Багатозначні_терміни") */ /**/ select REPLACE(page_title, '_(значения)', '')#page_title from ruwiki_p.page join ruwiki_p.categorylinks c1 on page_id=c1.cl_from and page_title like "%(значения)" and c1.cl_to = "Страницы,_содержащие_списки_однофамильцев" #(c1.cl_to = "Страницы_разрешения_неоднозначностей:_населённые_пункты" or c1.cl_to = "Страницы_разрешения_неоднозначностей_по_алфавиту") /* */ and page_is_redirect = 0 AND page_namespace = 0 ) and pp_value is not NULL AND ll_title IS NULL #and ll_from not in (select m.ll_from from langlinks m where m.ll_lang="uk") #group by ll_from
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...