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 dewiki_p; set @iso1:='US'; #set @iso2:='' or code set @iso2:='AK'; set @offset:=360; select gt_country, (case when gt_lon<0 then gt_lon+@offset else gt_lon end) as gt_lon2 from geo_tags where gt_country='NZ' limit 10 order by 2 asc; #select gt_country, gt_lon, (case when gt_lon<0 then gt_lon+@offset else gt_lon end) as gt_lon2 where gt_country='NZ' from geo_tags;
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...