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
Gerges
.
Toggle Highlighting
SQL
SELECT page.page_title as "عنوان المقالة", COUNT(DISTINCT lt_title) as "عدد قوالب الصيانة" FROM page JOIN templatelinks ON page.page_id = templatelinks.tl_from JOIN linktarget ON templatelinks.tl_target_id = linktarget.lt_id WHERE lt_title IN ( SELECT page.page_title FROM categorylinks JOIN page ON page.page_id = categorylinks.cl_from WHERE cl_to LIKE "قوالب_صيانة_المحتوى" AND page.page_namespace = 10 ) AND page.page_namespace = 0 GROUP BY page.page_title HAVING COUNT(DISTINCT lt_title) > 2 ORDER BY COUNT(DISTINCT lt_title) DESC LIMIT 100;
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...