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
Rchard2scout
.
Toggle Highlighting
SQL
/** * Find files on the English Wikipedia which are tagged as both free and non-free. * Author: Fastily * Source: https://github.com/fastily/fastilybot-toolforge/blob/master/scripts/report2.sql */ SELECT pg.page_title FROM categorylinks cl1 INNER JOIN page pg ON cl1.cl_from=pg.page_id INNER JOIN categorylinks cl2 ON cl2.cl_from=pg.page_id WHERE cl1.cl_to='All_non-free_media' AND cl2.cl_to='All_free_media' AND cl1.cl_type='file'
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...