SQL
AخA
SELECT COUNT(IF (log_id IS NULL, 1, NULL)) AS '# created before creation log', COUNT(*) AS 'total'
FROM page
LEFT JOIN templatelinks
ON tl_namespace=10 AND tl_title=page_title
LEFT JOIN logging_logindex
ON log_type='create' AND log_namespace=10 AND log_title=page_title
WHERE page_namespace=10
AND tl_from IS NULL
AND page_is_redirect=0;
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.