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
use s51154_hkmphotos; SELECT photos.* FROM stats, photos LEFT JOIN (SELECT photo_id FROM taglinks WHERE tag_id=3 AND deleted=1 GROUP BY photo_id) AS t ON photos.id=t.photo_id WHERE stats.photo_id=photos.id AND lat > (60.173824 - 0.01) AND lat < (60.173824 + 0.01) AND lon > (24.938064 - 0.01) AND lon < (24.938064 + 0.01) AND lat>0 AND lon>0 AND t.photo_id IS NULL ORDER BY viewcount,random
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...