Snoopy [해커랭크/SQL] 31. Weather Observation Station 13
코딩테스트/해커랭크 SQL

[해커랭크/SQL] 31. Weather Observation Station 13

Sooyoon Jeong 2023. 3. 12.
 

 

🤔 문제 분석

  1. Query the sum of Northern Latitudes (LAT_N) from STATION 
  2. having values greater than 38.7880 and less than 137.2345.
  3. Truncate your answer to 4 decimal places.

 

💡 풀이

SELECT TRUNCATE(SUM(LAT_N), 4)
FROM STATION
WHERE LAT_N > 38.7880 AND LAT_N < 137.2345

댓글