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
XXN
.
Toggle Highlighting
SQL
USE commonswiki_p;/* SELECT img_sha1, COUNT(*) AS occurs FROM image GROUP BY img_sha1 HAVING occurs > 1*/ /*### concat("File:",im1.img_name), concat("File:",im2.img_name), im1.img_sha1 FROM image im1, image im2 where im1.img_name != im2.img_name and im1.img_sha1 = im2.img_sha1 #LEFT JOIN globalimagelinks on gil_to = img_name order by im1.img_name asc*/ /*gil_wiki is null*/ SELECT CONCAT("*[[:File:", GROUP_CONCAT(img_name ORDER BY img_timestamp ASC SEPARATOR "]], [[:File:"), "]]") as Files, img_sha1 FROM image GROUP BY img_sha1 HAVING COUNT(img_sha1) > 1 limit 10 #limit 1000 /*other queries and (p1.page_title like "%ş%" or p1.page_title like "%ș%" or p1.page_title like "%ț%" or p1.page_title like "%ţ%" )*/ #GROUP BY p1.page_title; /* USE commonswiki_p; SELECT concat("File:",page_title) FROM page join image on page_namespace = 6 and page_title = img_name LEFT JOIN globalimagelinks on gil_to = img_name WHERE gil_wiki is null and page_title like "%ş%" GROUP BY page_title; */
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...