We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Weather Observation Station 2
Weather Observation Station 2
Sort by
recency
|
1521 Discussions
|
Please Login in order to post a comment
SELECT CAST(ROUND(SUM(lat_n), 2) AS DECIMAL(10,2)) AS lat, CAST(ROUND(SUM(long_w), 2)AS DECIMAL(10,2)) AS lon FROM STATION;
DB2:
SELECT ROUND(SUM(LAT_N),2) , ROUND(SUM(LONG_W),2) from STATION
This code works for MySQL SELECT ROUND(SUM(LAT_N),2) as lat, ROUND(SUM(LONG_W),2) as lon FROM STATION;