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
WOSlinker
.
Toggle Highlighting
SQL
select CONCAT('[[:Category:',cl2.cl_to,']]') as Category , count(*) as Total_NonFree , count(cl2.cl_from) as Total_Files from categorylinks as cl2 left join categorylinks as cl1 on cl1.cl_from=cl2.cl_from and cl1.cl_to='All_non-free_media' and cl1.cl_type='file' inner join page on page_title=cl2.cl_to left join page_props on page_id=pp_page and pp_propname='nogallery' where cl2.cl_type='file' and page_namespace=14 and pp_propname IS NULL /*and cl2.cl_to like '%logo%' */ and cl2.cl_to >'Bo' group by cl2.cl_to having count(*)=1 ORDER BY 2 desc, 1 LIMIT 1000;
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...