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
Rowanwindwhistler
.
Toggle Highlighting
SQL
use commonswiki_p; Select img_name, cl_to, count(*) from image inner join globalimagelinks on gil_to = img_name inner join page on page_namespace=6 and page_title = img_name inner join categorylinks on cl_from = page_id where img_media_type = 'DRAWING' and img_major_mime="image" and img_minor_mime = 'svg+xml' and cl_to like '%map%' and not cl_to = 'Historical_SVG_maps_in_Spanish' and cl_to not like '%ocator%' and cl_to not like '%lag%' and gil_wiki = 'eswiki' and img_timestamp > 20150200000000 group by img_name , cl_to having count(*) < 10 and count(*)>4 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
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...