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

SQL

AخA
 
USE enwiki_p;
SELECT count(DISTINCT tp.page_id) FROM page tp
JOIN categorylinks
ON page_id=cl_from
JOIN page ap
ON (tp.page_title=ap.page_title
    AND ap.page_namespace=0)
WHERE tp.page_namespace=1
AND tp.page_is_redirect=0
AND ap.page_is_redirect=0
AND cl_to LIKE 'A-Class\_%\_articles';
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...