SQL
x
#use arwiki_p;
select cl_sortkey_prefix AS " item "
, CONCAT('Sarwiki') as "S"
, CONCAT('',arwiki_p.page.page_title,'') AS "Page"
FROM arwiki_p.page#, wikidatawiki_p.page wdp
#, COUNT(*) AS "عدد الاستخدامات" ,page_namespace
#page_namespace, page_title, cl_sortkey_prefix, COUNT(*)
JOIN arwiki_p.categorylinks
#join page
ON arwiki_p.categorylinks.cl_from = page_id
WHERE arwiki_p.categorylinks.cl_to = "صفحات_دون_عنصر_ويكي_بيانات/كائن"
LEFT JOIN enwiki_p.page
ON enwiki_p.page.page_title = arwiki_p.page.cl_sortkey_prefix
#and cl_sortkey_prefix like "مدينة%"
#group by cl_sortkey_prefix# having count(*) > 1
#ORDER BY COUNT(*) DESC
#and page_title like "Mr._Ibrahem/%"
#limit 50;
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.