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
Mahir256
.
(when constructed, should print number of files in each subcategory of "Category:Categories requiring temporary/permanent diffusion")
Toggle Highlighting
SQL
#describe commonswiki_p.category; #describe commonswiki_p.categorylinks; #describe commonswiki_p.page; use commonswiki_p; SELECT current_date; # SELECT * from commonswiki_p.category where cat_title = "Categories_requiring_temporary_diffusion" limit 10; SELECT page_title, cat_files, cat_subcats FROM page JOIN categorylinks ON cl_from = page_id JOIN category ON cat_title = page_title WHERE (cl_to = "Categories_requiring_temporary_diffusion" OR cl_to = "Categories_requiring_permanent_diffusion") AND page_namespace = 14;
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...