This query is marked as a draft This query has been published by IKhitron.

SQL

x
 
use ruwiki_p;
select * from page p1
where page_namespace = 14
and exists
(select * from categorylinks c0
 where cl_to = page_title
 and exists
 (select * from page p2
  where p2.page_id = cl_from
   and exists
    (select * from categorylinks c1
     where c1.cl_to = p1.page_title
     and exists
     (select * from page p3
      where p3.page_id = c1.cl_from
      and not p2.page_namespace = p3.page_namespace
      and not p2.page_namespace = 14
      and not p3.page_namespace = 14))))
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.

Checking query status...