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
Bjh21
.
This query finds the ten files on Commons that are in the largest number of categories.
Toggle Highlighting
SQL
select count(distinct gil_to) from globalimagelinks, page, categorylinks where gil_to = page_title and page_id = cl_from and page_namespace = 6 and cl_to = 'Images_from_Geograph_Britain_and_Ireland' and gil_wiki <> 'commonswiki' and gil_page_namespace_id <> 2 and gil_page_namespace_id & 1 = 0;
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...