HackerRank/SQL
[hackerrank] Weather Observation Station 13
예쁜꽃이피었으면
2022. 8. 31. 11:02
[hackerrank] Prepare > SQL > Aggregation > Weather Observation Station 13
[문제]
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]
[ORCALE]
select round(sum(lat_n),4)
from station
where lat_n >= 38.7880 and lat_n <= 137.2345;
반응형