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
Zache
.
Toggle Highlighting
SQL
select CONCAT('https://commons.wikimedia.org/entity/M', i1.page_id) as image1, CONCAT('https://commons.wikimedia.org/entity/M', i2.page_id) as image2, CONCAT('phash:', i1.phash) as phash_str, CONCAT('dhash:', i1.dhash) as dhash_str from imagehash as i1, imagehash as i2 where i1.page_id!=i2.page_id AND ( (i1.phash=i2.phash AND BIT_COUNT(i1.dhash ^ i2.dhash) < 2 AND i1.phash NOT IN (0, 9223372036854775808)) OR (i1.dhash=i2.dhash AND BIT_COUNT(i1.phash ^ i2.phash) < 2 AND i1.dhash NOT IN (0, 9223372036854775808)) ) 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
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...