Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
TEST
by
SR5
This query is marked as a draft
This query has been published
by
SR5
.
https://quarry.wmcloud.org/query/26205
Toggle Highlighting
SQL
SELECT concat('# [[:تصنيف:', cl_to, ']] - '), count(*) AS C FROM categorylinks JOIN page AS ap ON ap.page_id = cl_from WHERE ap.page_namespace = 0 AND NOT EXISTS (SELECT 1 FROM page AS cp WHERE cp.page_namespace = 0 AND cp.page_title = cl_to) GROUP BY cl_to HAVING C > 1 ORDER BY C DESC
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...