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 DISTINCT p.page_id FROM page p INNER JOIN categorylinks cl1 ON cl1.cl_from = p.page_id AND cl1.cl_to = 'All_free_media' INNER JOIN categorylinks cl2 ON cl2.cl_from = p.page_id AND cl2.cl_to = 'All_non-free_media' LEFT JOIN templatelinks t ON t.tl_from = p.page_id AND t.tl_title IN ('Non-free_3D_art', 'Non-free_2D_art', 'Non-free_Olympics_media', 'Photo_of_art', 'NFUR_not_needed') WHERE t.tl_from IS NULL
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...