SQL
AخA
SELECT DISTINCT I.img_name, I.img_timestamp, I.img_metadata
FROM commonswiki_p.image I
INNER JOIN commonswiki_p.page P ON I.img_name = P.page_title
WHERE img_metadata LIKE '%u10D,S300D,u300D%'
AND P.page_namespace = 6
AND NOT EXISTS (
SELECT 1
FROM commonswiki_p.categorylinks CL
WHERE P.page_id = CL.cl_from
AND CL.cl_to = 'Taken_with_Olympus_u10D_/_S-300D_/_u300D'
)
ORDER BY I.img_timestamp DESC;
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.