Fork of Ruwiki new disambiguations by IKhitron
This query is marked as a draft This query has been published by IKhitron.

SQL

x
 
use ruwiki_p;
select *
from page as p1 join pagelinks on p1.page_id = pagelinks.pl_from
join page as p2 on pagelinks.pl_namespace = p2.page_namespace and pagelinks.pl_title = p2.page_title
where p1.page_is_redirect = 0
and p1.page_namespace = 0
and not p2.page_title like "%_(значения)"
and exists
(select * from categorylinks
 where p2.page_id = cl_from
 and cl_to = 'Страницы_значений_по_алфавиту')
and not exists
(select * from categorylinks
 where p1.page_id = cl_from
 and cl_to = 'Страницы_значений_по_алфавиту')
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.

Checking query status...