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
FShbib
.
Toggle Highlighting
SQL
use arwiki_p; select Concat('[[تصنيف:',cl_to,']]'), count(cl_from) from categorylinks join page p on p.page_namespace=0 and cl_from=p.page_id AND p.page_id in (select tl_from from templatelinks where tl_title = 'يتيمة') AND (cl_to NOT LIKE '%يتيمة%' OR cl_to NOT LIKE '%ويكي_بيانات%') #not in (select tl_from from templatelinks where tl_title = 'تصنيف_ويكيبيديا') group by cl_to order by count(cl_from) 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...