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

SQL

AخA
 
use arwiki_p;
select concat('* [[:نقاش_التصنيف:',page_title,']]')
from page
where page_namespace=0 and page_is_redirect=0 #and (page_title like "%السعودية%" or page_title like "%سعودي%")
and page_title in (select pla.page_title
        from categorylinks cla
        join page pla on cla.cl_from=pla.page_id
        where pla.page_namespace=14 and cla.cl_to="جميع_مقالات_البذور")
and page_title not in (select pla.page_title
        from categorylinks cla
        join page pla on cla.cl_from=pla.page_id
        where pla.page_namespace=14 and cla.cl_to="مقالات%ذات_صنف_بذرة")
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...