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
ASammour
.
Toggle Highlighting
SQL
use arwiki_p; select replace(replace(cl_to, "بوابة_", ""),"/مقالات_متعلقة", "") as "الموضوع", count(cl_from) as "عدد المقالات", ((count(cl_from)/1019000)*100) as "النسبة" from categorylinks where cl_to like "بوابة_%متعلقة" and cl_from in (select page_id from page where page_id= cl_from and page_namespace = 0 and page_is_redirect = 0) 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...