This query is marked as a draft This query has been published by ASammour.

SQL

AخA
 
use arwiki_p;
select DISTINCT cl2.cl_to, SUBSTRING_INDEX(cl.cl_from, '_', 1) from categorylinks cl
inner join categorylinks cl2
on cl.cl_from = cl2.cl_from
where cl.cl_to like "بذرة%"
group by cl2.cl_to, SUBSTRING_INDEX(cl.cl_from, '_', 1)
order by count(cl2.cl_to) 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.
All SQL code is licensed under CC0 License.

Checking query status...