Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Edgars2007
.
TODO: sākumā aizsargātos attēlus + neizmantotos attēlus sākumā - 228
Toggle Highlighting
SQL
USE lvwiki_p; SELECT concat("[[:Attēls:",REPLACE(e.img_name, '_', ' '),"]]") as "LV WIKI", concat("[[:c:File:",REPLACE(e.img_name, '_', ' '),"]]") as "Commons" FROM image e INNER JOIN commonswiki_p.image c ON c.img_name = e.img_name AND c.img_sha1 != e.img_sha1 #where e.img_name like "%Logo%" #left JOIN imagelinks il ON il.il_to = e.img_name #INNER JOIN page p ON p.page_title = e.img_name AND p.page_namespace = 6 #WHERE cl.cl_from IS NULL /* USE lvwiki_p; SELECT e.img_name FROM image e INNER JOIN commonswiki_p.image c ON c.img_name = e.img_name AND c.img_sha1 != e.img_sha1 INNER JOIN (page p LEFT JOIN categorylinks cl ON cl.cl_from = p.page_id AND cl.cl_to = 'Wikipedia_files_that_shadow_a_file_on_Wikimedia_Commons') ON p.page_title = e.img_name AND p.page_namespace = 6 WHERE cl.cl_from IS NULL USE lvwiki_p; SELECT e.img_name FROM image e INNER JOIN commonswiki_p.image c ON c.img_name = e.img_name AND c.img_sha1 != e.img_sha1 INNER JOIN (page p LEFT JOIN categorylinks cl ON cl.cl_from = p.page_id AND cl.cl_to = 'Wikipedia_files_that_shadow_a_file_on_Wikimedia_Commons') ON p.page_title = e.img_name AND p.page_namespace = 6 WHERE cl.cl_from IS NULL */
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...