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

SQL

AخA
 
select
    page_namespace,
    count(page_id)
from
    page
where
    page_namespace in ( 10, 828 ) and -- Template, Module
    page_title not like '%/doc' and
    page_is_redirect <> 1 -- Don't count redirects
group by
    page_namespace;
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...