SQL
AخA
use eswiki_p;
SELECT count(1)
FROM page
WHERE page_namespace = 0
AND page_is_redirect = 0
AND NOT EXISTS (SELECT 1 FROM templatelinks WHERE tl_from = page_id AND tl_title IN ('Control_de_autoridades', 'NF', 'BD'))
AND NOT EXISTS (SELECT 1 FROM categorylinks WHERE cl_from = page_id AND cl_to IN ('Hombres', 'Mujeres'))
AND NOT EXISTS (SELECT 1 FROM page_props WHERE pp_page = page_id AND pp_propname = 'disambiguation');
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.