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
Stefan2
.
Toggle Highlighting
SQL
USE mswiki_p; SELECT i.img_user_text AS username, p.page_title AS filename FROM page p INNER JOIN categorylinks c ON cl_from = p.page_id AND cl_to = 'All_free_media' INNER JOIN image i ON i.img_name = p.page_title WHERE p.page_namespace = 6 UNION SELECT DISTINCT o.oi_user_text AS username, p.page_title AS filename FROM page p INNER JOIN categorylinks c ON cl_from = p.page_id AND cl_to = 'All_free_media' INNER JOIN oldimage o ON o.oi_name = p.page_title WHERE p.page_namespace = 6 ORDER BY username, filename
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...