Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Self-categorized categories (a.k.a. selfie-cat)
by
Bennylin
This query is marked as a draft
This query has been published
by
Bennylin
.
[[en:Wikipedia:Database reports/Red-linked categories with incoming links/Configuration]]
Toggle Highlighting
SQL
use idwiki_p; SELECT CONVERT(cl_to USING utf8), COUNT(*) FROM categorylinks JOIN pagelinks ON pl_title = cl_to AND pl_namespace = 14 JOIN page AS p1 ON pl_from = p1.page_id AND p1.page_namespace IN (0, 6, 10, 12, 14, 100) LEFT JOIN page AS p2 ON cl_to = p2.page_title AND p2.page_namespace = 14 WHERE p2.page_title IS NULL GROUP BY 1 LIMIT 1000;
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...