Fork of
sortkey prefix infobox book
by Mr. Ibrahem
This query is marked as a draft
This query has been published
by Mr. Ibrahem.
SQL
x
use arwiki_p;
select CONCAT('',cl_sortkey_prefix,'') AS "الخاصية",COUNT(*) AS "عدد الاستخدامات"
#page_namespace, page_title, cl_sortkey_prefix, COUNT(*)
from categorylinks
#join page
#on cl_from = page_id
where cl_to = "صفحات_تستخدم_قالب:مرجع_ويب_مع_وسائط_غير_معروفة"
#and 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.