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
Solidest
.
Toggle Highlighting
SQL
USE ruwiki_p; SELECT cl_to AS category, COUNT(*) AS article_count FROM categorylinks LEFT JOIN page ON cl_from = page_id LEFT JOIN templatelinks ON page_id = tl_from WHERE cl_to LIKE 'Статьи_проекта_%' AND page.page_namespace = 0 AND NOT EXISTS ( SELECT 1 FROM page AS talk_page LEFT JOIN templatelinks AS talk_tl ON talk_page.page_id = talk_tl.tl_from WHERE talk_page.page_namespace = 1 AND talk_page.page_title = REPLACE(page_title, '_', ' ') AND talk_tl.tl_namespace = 10 AND talk_tl.tl_title = 'К удалению' ) AND NOT ( cl_to LIKE '%важности' OR cl_to LIKE '%уровня' OR cl_to LIKE '%по_уровню' ) GROUP BY cl_to HAVING COUNT(*) BETWEEN 0 AND 50;
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...