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
|
1547 Discussions
|
Please Login in order to post a comment
SELECT round(sum(lat_N),2),round(sum(long_W),2) FROM station;
simple solution
Worked for me in mysql
Select Round(sum(LAT_N),2),Round(SUM(LONG_W),2) from STATION;
SELECT CAST(ROUND(CAST(SUM(LAT_N) AS DECIMAL(10,4)), 2) AS DECIMAL(10,2)), CAST(ROUND(CAST(SUM(LONG_W) AS DECIMAL(10,4)), 2) AS DECIMAL(10,2)) FROM STATION;
select round(sum(lat_n), 2), round(sum(long_w), 2) from station
SELECT CAST(ROUND(SUM(LAT_N),2)AS DECIMAL(10,2)), CAST(ROUND(SUM(LONG_W),2)AS DECIMAL(10,2)) FROM STATION