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
Jarekt
.
Toggle Highlighting
SQL
use commonswiki_p; select CONCAT("File:", REPLACE(img_name,"_"," ")) AS Example #select count(*) from image JOIN page ON page_namespace=6 AND page_title=img_name where img_minor_mime='pdf' and img_metadata like '%\"Pages\";s:1:\"1";%' AND NOT exists ( -- find files that are not in "No license" categories SELECT * FROM categorylinks WHERE cl_from=page_id AND cl_to like "%John F. Kennedy assassination documents" limit 1 ) limit 1000
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...