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 enwiki_p; SELECT p.page_id FROM page p JOIN image i ON i.img_name = p.page_title LEFT JOIN categorylinks c ON c.cl_from = p.page_id AND c.cl_to IN ('All_free_media', 'All_non-free_media', 'All_free_in_US_media') WHERE p.page_namespace = 6 AND p.page_is_redirect = 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...