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
Tacsipacsi
.
This query is used to update https://en.wikibooks.org/wiki/Template:RC/doc/use-count/doc, as usage through MediaWiki messages doesn’t show up on Special:WhatLinksHere (i.e. the templatelinks table).
Toggle Highlighting
SQL
USE enwikibooks_p; SELECT COUNT(*) FROM category WHERE cat_pages > 0; SELECT COUNT(*) FROM category; SELECT COUNT(*) FROM page WHERE page_namespace = 14; SELECT COUNT(*) FROM category INNER JOIN page ON cat_title = page_title AND page_namespace = 14 WHERE cat_pages > 0;
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...