Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
All main space pages with count of their sub pages
by
Arjunaraoc
This query is marked as a draft
This query has been published
by
Arjunaraoc
.
Useful for knowing the status of all books and their pages.
Toggle Highlighting
SQL
use tewikisource_p; SELECT page_title, COUNT(pl_title) as numpages FROM page JOIN pagelinks ON pl_from = page_id WHERE pl_namespace = 0 and page_namespace=0 and pl_title LIKE '%/%' GROUP BY page_title LIMIT 1000;
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...