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

SQL

AخA
 
use arwiki_p;
select 
    CONCAT('# [[',page.page_title,']]')
from page 
where page_namespace = 0 
and page.page_id in (select cl_from from categorylinks where cl_to = 'أشخاص_على_قيد_الحياة') 
and page.page_id in (select cl_from from categorylinks where cl_to REGEXP 'وفيات_') 
and page.page_id not in (select cl_from from categorylinks where cl_to = 'وفيات_مشكوك_فيها')
and page.page_id not in (select cl_from from categorylinks where cl_to = 'وفيات_غير_عادية')
and page.page_id not in (select cl_from from categorylinks where cl_to = 'أشخاص_يحتمل_أن_يكونوا_أحياء') 
and page_is_redirect = 0 
order by page.page_title ASC
;
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...