Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Mdaniels5757
.
Toggle Highlighting
SQL
SELECT page_namespace AS namespace_id, CONCAT("{{ns:", page_namespace, "}}") AS namespace_name, SUM(CASE page_is_redirect = 0 THEN 1 ELSE 0 END) AS non_redirects, SUM(page_is_redirect) AS redirect, COUNT(*) AS total FROM page 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
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...