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
DreamRimmer
.
Toggle Highlighting
SQL
SELECT page_title FROM page WHERE page_namespace = 6 AND page_is_redirect = 0 AND NOT EXISTS ( SELECT 1 FROM imagelinks WHERE imagelinks.il_to = page.page_title ) AND NOT EXISTS ( SELECT 1 FROM templatelinks JOIN page AS template_page ON template_page.page_id = templatelinks.tl_target_id WHERE templatelinks.tl_from = page.page_id AND templatelinks.tl_from_namespace = 6 AND template_page.page_title = "Template:Orphan file" ) AND EXISTS ( SELECT 1 FROM categorylinks WHERE categorylinks.cl_from = page.page_id AND categorylinks.cl_to = "All_free_media" ) ORDER BY page.page_id ASC;
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...