Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Fiwikin artikkelit joissa on primaarikoordinaatit määriteltynä
by
Zache
This query is marked as a draft
This query has been published
by
Zache
.
Toggle Highlighting
SQL
use fiwiki_p; SELECT * FROM ( SELECT page_title, page_id as fiwiki_page_id, pp_value as wikidata_id, gt_primary as primary, sum(gt_primary=1) + sum(gt_primary=0) as coordinate_count, gt_lat, gt_lon FROM geo_tags, page LEFT JOIN page_props ON page_id=pp_page AND pp_propname="wikibase_item" WHERE page_namespace=0 and page_id=gt_page_id and gt_lon>24.782813 and gt_lat>60.070872 and gt_lon<25.254512 and gt_lat<60.29785 GROUP BY page_id ) AS t WHERE coordinate_count=1 ;
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...