Fork of ملفات حمراء بحاجة لإزالة في النطاق الرئيسي (مع استثناء تحويلات الملفات) by ASammour
This query is marked as a draft This query has been published by ASammour.

SQL

AخA
 
USE arwiki_p;
SELECT CONCAT(page_title) AS page_title, CONCAT(il_to) AS il_to
FROM page
JOIN imagelinks
ON page_id = il_from
WHERE (NOT EXISTS(
SELECT 1
FROM image
WHERE img_name = il_to))
AND (NOT EXISTS(
SELECT
1
FROM commonswiki_p.page
WHERE page_title = il_to
AND page_namespace = 6))
AND page_namespace = 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...