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 srwiki_p; select p1.page_title, p1.page_len, p2.page_title, p2.page_len from page p1, page p2, page_props pp /* 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 p1.page_id = pp.pp_page and pp.pp_propname = 'disambiguation' and p1.page_is_redirect = 0 AND p1.page_namespace = 0 #Страницы_разрешения_неоднозначностей:_населённые_пункты #and cl_to in ("Страницы_разрешения_неоднозначностей:_населённые_пункты", "Страницы_разрешения_неоднозначностей_по_алфавиту") and p1.page_title not like "%(вишезначна_одредница)"#"%(значения)" and p2.page_title like "%(вишезначна_одредница)"#"%(значения)" and p2.page_is_redirect = 0 AND p2.page_namespace = 0 and p1.page_title = REPLACE(p2.page_title,'_(вишезначна_одредница)', '') /* from bgwiki_p.page join bgwiki_p.categorylinks c1 on page_id=c1.cl_from and page_title like "%(пояснение)"*/ /*from srwiki_p.page join srwiki_p.categorylinks c1 on page_id=c1.cl_from and page_title not like "%(вишезначна_одредница)" and c1.cl_to = "Вишезначна_одредница" and page_is_redirect = 0 AND page_namespace = 0 )*/ /*and pp_value is not NULL AND ll_title IS NULL*/
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...