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

SQL

x
 
use arwiki_p;
select page_namespace,CONCAT('[[',page_title,']]') AS "B", cl_sortkey_prefix AS "A"#, COUNT(*)  AS "عدد الاستخدامات"
#page_namespace,  page_title, cl_sortkey_prefix, COUNT(*)
from categorylinks join page
on cl_from = page_id
where cl_to = "تصانيف_ويكي_بيانات"
and page_namespace = "14"
#and cl_sortkey_prefix like "Qmareg%"
#and cl_sortkey_prefix like "Qadd%"
#and cl_sortkey_prefix like "Qitemno%"
and cl_sortkey_prefix like "Qnoitem%"
   #  or cl_sortkey_prefix like "بدون%"
    
#group by cl_sortkey_prefix# having count(*) > 1
#ORDER BY  COUNT(*) DESC
#and page_title like "Mr._Ibrahem/%"
#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...