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
SELECT concat('[[قالب:',lt_title,']]'), concat('[[قالب:',lt_title,'/ملعب]]'), concat('[[قالب:',lt_title,'/مختبر]]'), count(*) as a FROM templatelinks, linktarget, page where lt_namespace = 10 and tl_target_id = lt_id #and tl_from_namespace = 0 and page_title = lt_title and page_namespace = lt_namespace and lt_title not like "%/%" and page_id in (select cc.cl_from from categorylinks cc where cc.cl_to = "قوالب_تنسيق_قوالب_الأعلام") group by lt_title order by COUNT(lt_title) desc limit 150;
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...