Query the sum of Northern Latitudes (LAT_N) from STATION having values greater than and less than . Truncate your answer to decimal places.
Input Format
The STATION table is described as follows:
where LAT_N is the northern latitude and LONG_W is the western longitude.
MySQL:
Sol 1:
select round(sum(lat_n),4) from station where lat_n > 38.7880 and lat_n < 137.2345
Sol 2:
select round(sum(lat_n),4) from station where lat_n between 38.7880 and 137.2345
Your Output (stdout)
Post a Comment