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
Omphalographer
.
Toggle Highlighting
SQL
SELECT p2s.cl_to AS parent_cat, SUM(sc.cat_files) AS total_cat_files, SUM(sc.cat_subcats) AS total_cat_subcats, SUM(sc.cat_pages - sc.cat_files - sc.cat_subcats) AS total_cat_actual_pages FROM categorylinks p2s JOIN page s ON (p2s.cl_from = s.page_id) JOIN category sc ON (sc.cat_title = s.page_title) WHERE p2s.cl_to IN ( 'Photographs_by_F-number' 'Photographs_by_ISO_speed_rating', 'Photographs_by_aspect_ratio', 'Photographs_by_exposure_time', 'Photographs_by_lens_focal_length' ) AND s.page_namespace = 14 -- category GROUP BY p2s.cl_to
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...