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

SQL

AخA
 
use fawiki_p;
select
case
    when page_namespace = 0 then page_title
    else concat(':{{ns:', page_namespace, '}}:', page_title)
end as page_name
from categorylinks
join page
on cl_from = page_id
where cl_to = 'مقالههای_نامزد_حذف'
and page_title not in
(
    select pl_title
    from pagelinks
    where pl_from = 37395
)
order by page_namespace, 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.

Query status: complete

Executed on Mon, 24 Oct 2016 20:19:51 UTC.