SQL
x
USE arwiki_p;
SELECT CONCAT('[[', page_title, ']]') AS page_title
FROM page
WHERE page_namespace = 0 and page_is_redirect = 0
and page_id in (select cl_from from categorylinks where cl_to like "%في_السعودية%")
and page_id NOT in (select cl_from from categorylinks where cl_to ='بوابة_السعودية/مقالات_متعلقة')
and page_id NOT in (select cl_from from categorylinks where cl_to ='بوابة_أعلام/مقالات_متعلقة')
GROUP BY page_title
ORDER BY page_title DESC
LIMIT 100;
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.