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
Stefano.desabbata
.
Toggle Highlighting
SQL
select enwiki_p.geo_tags.gt_page_id, revision_history.rev_page, enwiki_p.geo_tags.gt_primary, enwiki_p.geo_tags.gt_lat, enwiki_p.geo_tags.gt_lon, enwiki_p.geo_tags.gt_country, enwiki_p.geo_tags.gt_region, revision_history.first_edit_timestamp from enwiki_p.geo_tags left join ( select rev_page, min(rev_timestamp) first_edit_timestamp from enwiki_p.revision group by rev_page ) as revision_history on enwiki_p.geo_tags.gt_page_id = revision_history.rev_page where enwiki_p.geo_tags.gt_primary=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...