SQL
x
use hewiki_p;
select p1.page_namespace, p1.page_title, cl1.cl_to from categorylinks as cl1 join page as p1
on cl1.cl_from = p1.page_id
where p1.page_namespace = 6
and exists
(select * from page as p2
where p2.page_title = cl1.cl_to
and exists
(select * from categorylinks as cl2
where cl2.cl_to = "קטגוריות_לריקון_מיידי"
and cl2.cl_from = p2.page_id))
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.