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:", img_name) AS file #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 img_name not like 'The_New_Orleans_Bee%' and img_name not like '%JFK%' and #AND NOT exists ( SELECT * FROM categorylinks WHERE cl_from=page_id AND cl_to like "%John F. Kennedy%" ) order by RAND() 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...