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

SQL

x
 
use hewiki_p;
select * from categorylinks inner join page
on page_id = cl_from
where cl_to in ("קטגוריות_לריקון", "קטגוריות_לריקון_מיידי")
and not exists
(select * from pagelinks
  where page_title = pl_title
  and page_namespace = pl_namespace
  and exists
  (select * from page
   where page_id = pl_from
   and page_namespace = 4
   and page_title = "מסדר_ניקיון"));
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...