SQL
AخA
USE fawiki_p;
SELECT CONCAT (
'#[[',
cl_to,
']]'
)
FROM categorylinks
where cl_to NOT IN (
SELECT page_title
FROM categorylinks
INNER JOIN page on cl_from = page_id and page_namespace = 14 and page_is_redirect = 0 where cl_to like "%افراد زنده%" or cl_to like "%افراد_زنده%"
)
AND cl_to NOT IN (
SELECT page_title
FROM categorylinks
INNER JOIN page on cl_from = page_id and page_namespace = 14 and page_is_redirect = 0 where
cl_from = page_id
AND cl_to like "%زاده•گان%"
AND page_namespace = 14
);
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.