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 page_title, gt_page_id, gt_lat, gt_lon, gt_primary, (6371 * acos( cos(radians(60.2)) * cos(radians(gt_lat)) * cos(radians(gt_lon) - radians(24.916)) + sin(radians(60.2)) * sin(radians(gt_lat)) )) AS distance FROM geo_tags, page WHERE gt_page_id=page_id AND page_namespace=0 ORDER BY distance ASC LIMIT 1000
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...