Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
All non-free files on lb.wiki by size (oversized)
by
MGA73
This query is marked as a draft
This query has been published
by
MGA73
.
Toggle Highlighting
SQL
USE ukwiki_p; #SELECT CONCAT('# [[:File:', REPLACE(REPLACE(p.page_title, '"', '**DOUBLEQUOTE**'), '_', ' '), ']]') FROM page p SELECT CONCAT('# [[:File:', p.page_title, ']]') AS Filename, img_width, img_height, img_size, CONCAT("[[:User:", actor_name, "]]") as uploader FROM page p JOIN image ON img_name = page_title INNER JOIN categorylinks c1 ON p.page_id = c1.cl_from LEFT JOIN imagelinks i ON p.page_title = i.il_to #AND (i.il_from_namespace = 0) LEFT JOIN categorylinks c2 ON p.page_id = c2.cl_from AND c2.cl_to = "Невільні_файли" #Not in this category (Невільні_файли = non-free) #WHERE c1.cl_to = "Hình_không_tự_do" #AND i.il_from IS NULL #IS NULL = Not in use ; IS NOT NULL = In use WHERE i.il_from IS NULL AND c2.cl_from IS NULL #Not in category (Non free not reduce as listed above) ### Original start #AND (img_size >= 999999 # OR img_width > 350 # OR img_height > 350) ### Original end AND (img_width*img_height < 200000) AND p.page_namespace = 6 Group by img_name
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...