Fork of Untitled query #21892 by Estopedist1
This query is marked as a draft This query has been published by Estopedist1.

SQL

x
 
USE etwiki_p;
SELECT CONCAT ('# [[:File:',page_title,']]')
FROM page
#INNER JOIN templatelinks AS tl ON page_id = tl_from
#WHERE cl_to NOT LIKE 'Zeimeigi_Latgolys_ļauds'
#WHERE tl_title NOT LIKE "KunstiteoseFoto" 
#AND tl_title <> "KunstiteoseFoto" 
WHERE page_namespace = 6
AND page_is_redirect = 0
GROUP BY page_title
LIMIT 1800;
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.

Checking query status...