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
Tjmj
.
Toggle Highlighting
SQL
WITH hc AS ( SELECT p.page_title, pp.pp_propname FROM page_props pp LEFT JOIN page p ON (p.page_id = pp.pp_page) WHERE pp.pp_propname = 'hiddencat' ) SELECT p.page_title, COUNT(*) AS cat_count, SUM(CASE WHEN hc.pp_propname IS NULL THEN 0 ELSE 1 END) AS hidden_cat_count FROM page p LEFT JOIN categorylinks cl ON p.page_id = cl.cl_from LEFT JOIN hc ON cl.cl_to = hc.page_title WHERE p.page_namespace = 14 AND p.page_id = 186871 HAVING cat_count = hidden_cat_count
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...