SQL
AخA
use commonswiki_p;
SELECT
concat("[[:Attēls:",REPLACE(page_title, '_', ' '),"]]"),
concat("[[Attēls:",REPLACE(page_title, '_', ' '),"|100px]]"),
img_size
FROM page
JOIN image
ON img_name = page_title
JOIN categorylinks
ON cl_from = page_id
WHERE page_namespace = 6
AND cl_to="Images_from_Wiki_Loves_Monuments_2015_in_Latvia"
order by img_size desc
limit 10;
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.