SQL
AخA
USE commonswiki_p;
#SELECT CONCAT('[[:File:', REPLACE(img_name, '_', ' '), ']]') AS FILE FROM image
SELECT img_name FROM image
WHERE img_name LIKE '%^_.jpg' ESCAPE '^'
AND CONCAT(SUBSTRING(img_name, LENGTH(img_name) - 5), '.jpg') NOT IN (SELECT img_name FROM image)
LIMIT 10000
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.