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
Bdijkstra
.
Toggle Highlighting
SQL
SELECT cp.page_title AS cat, (cat_pages-cat_subcats-cat_files) AS `#p`, GROUP_CONCAT(p1.page_title SEPARATOR '|') AS `pages` FROM page cp, category cat0, categorylinks cl1, page p1 WHERE cp.page_is_redirect=0 AND cp.page_namespace=14 AND cp.page_title NOT REGEXP '^Artikel_in_de_|^Gebruker_|^Mallen_|^Mal:|^Pl(ak|[ao][ao]tse?)_in_|^Wikipedie:|_artikel$|_mallen$' AND cp.page_title=cat_title AND NOT EXISTS (SELECT * FROM categorylinks cl0 WHERE cl_to=cp.page_title AND cl_sortkey_prefix REGEXP '^[ !\\*]') AND cl1.cl_to=cat_title AND cl1.cl_from=p1.page_id GROUP BY `cat`, `#p` ORDER BY `cat`, p1.page_title HAVING `#p`>1
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...