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
SELECT DISTINCT p.page_id FROM page p INNER JOIN externallinks e ON p.page_id = e.el_from LEFT JOIN categorylinks c ON p.page_id = c.cl_from AND c.cl_to IN ('All_non-free_media', 'Wikipedia_files_on_Wikimedia_Commons_for_which_a_local_copy_has_been_requested_to_be_kept', 'Wikipedia_images_using_freedom_of_panorama') WHERE p.page_namespace = 6 AND c.cl_from IS NULL AND e.el_to LIKE '%flickr.com%' ORDER BY RAND()
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...