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
Mr. Ibrahem
.
Toggle Highlighting
SQL
use arwiki_p; select #cl_sortkey_prefix AS " item ", # (SELECT page_title FROM frwiki_p.page enp WHERE enp.page_namespace = 0 and enp.page_title= aa.page_title) AS "Page" , CONCAT('Sarwiki') as "S" , CONCAT('', aa.page_title,'') AS "Page" #FROM categorylinks #, COUNT(*) AS "عدد الاستخدامات" ,page_namespace #page_namespace, page_title, cl_sortkey_prefix, COUNT(*) #JOIN arwiki_p.page FROM page as aa, page_props as pp#, wikidatawiki_p.page as wdp WHERE aa.page_namespace = 0 and pp.pp_value is null #join page #ON cl_from = page_id #and cl_to = "صفحات_دون_عنصر_ويكي_بيانات/كائن" #and cl_sortkey_prefix like "مدينة%" #and exists (SELECT * FROM enwiki_p.page enp WHERE enp.page_namespace = 0 and enp.page_title=page_title) #and exists (SELECT * FROM frwiki_p.page enp WHERE enp.page_namespace = 0 and enp.page_title= aa.page_title) #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
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...