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
Zygimantus
.
Toggle Highlighting
SQL
SELECT cp.page_title AS cat, (cat_pages-cat_subcats-cat_files) AS `#p`, GROUP_CONCAT(p1.page_title ORDER BY p1.page_title SEPARATOR '|') AS `articles` 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_|^Pl(ak|[ao][ao]tse?)_in_|^Wikipedie:|^Ziejen_die_|_(ie?|va)n_|_artikel$' 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 AND p1.page_namespace=0 GROUP BY `cat`, `#p` 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...