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
B
.
Toggle Highlighting
SQL
USE commonswiki_p; SELECT * FROM externallinks -- ORDER BY rev_page DESC LIMIT 5 /* SELECT CONCAT('*{{lf|', REPLACE(REPLACE(p.page_title, '"', '**DOUBLEQUOTE**'), '_', ' '), '}}') FROM page p INNER JOIN externallinks ON el_from = p.page_id LEFT JOIN imagelinks i ON p.page_title = i.il_to -- AND (i.il_from_namespace = 0) LEFT JOIN categorylinks c1 ON p.page_id = c1.cl_from AND c1.cl_to = "All_non-free_media" LEFT JOIN redirect on rd_from = p.page_id WHERE i.il_from IS NULL AND p.page_namespace = 6 AND c1.cl_to IS NULL -- Exclude fair use - other processes will handle those AND rd_title IS NULL -- Exclude redirects -- AND el_to LIKE '%flickr%' ORDER BY page_id DESC LIMIT 2 -- 00000 */
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...