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
Fountain Test
.
Toggle Highlighting
SQL
user ruwiki_p; select cast(p.page_title as char) cat, cast(cl.cl_to as char) parent_cat, c.cat_pages - c.cat_subcats - c.cat_files cnt from page p inner join categorylinks cl on cl.cl_from = p.page_id and cl.cl_type = 'subcat' and p.page_namespace = 14 inner join category c on c.cat_title = p.page_title left join (select pp_page page_id from page_props where pp_propname = 'hiddencat') hc on p.page_id = hc.page_id where hc.page_id is null
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...