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
Herzi Pinki
.
Toggle Highlighting
SQL
use commonswiki_p; #select gt_lat, gt_lon, gt_page_id, gt_name, (select page_title from page where page_id = gt_page_id and page_namespace = '6'),gt_country,gt_region from geo_tags #where round (gt_lat,0)=48 and round(gt_lon, 0)=16 limit 100; #describe geo_tags; #describe page; #select distinct gt_lat, gt_lon count from geo_tags; #select count(distinct gt_lat, gt_lon) from geo_tags, page where page_id = gt_page_id and page_namespace != '6'; use dewiki_p; select distinct (select page_title from page where page_id = gt_page_id) as title from geo_tags where gt_country='AL' and gt_region not in ('01','02','03','04','05','06','07','08','09','10','11','12'/*,'BR','BU','DI','DL','DR','DV','EL','ER','FR','GJ','GR','HA','KA','KB','KC','KO','KR','KU','LB','LE','LU','MK','MM','MR','MT','PG','PQ','PR','PU','SH','SK','SR','TE','TP','TR','VL'*/) ;
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...