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
JJMC89
.
Toggle Highlighting
SQL
select distinct concat('[[:File:',oi_name,']]') as File from oldimage oi left join page p on oi.oi_name = p.page_title inner join categorylinks cl on p.page_id = cl.cl_from where oi.oi_deleted in (1, 3, 5, 7) and p.page_namespace = 6 and cl_to in ('All_free_media', 'All_free_in_US_media') ;
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...