Weather Observation Station 2

  • + 0 comments

    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;

    we have to use cast fun that exactly uses the decimal 2 places