Im between cherry

Hackerrank | MySQL | Weather Observation Station 14 본문

데이터분석/practice_query

Hackerrank | MySQL | Weather Observation Station 14

meal 2020. 8. 29. 11:11

Weather Observation Station 14

Problem

 

Weather Observation Station 14 | HackerRank

Query the greatest value of the Northern Latitudes from STATION that are under 137.2345 and truncated to 4 decimal places.

www.hackerrank.com

Query the greatest value of the Northern Latitudes (LAT_N) from STATION that is less than . Truncate your answer to  decimal places.

 

SELECT TRUNCATE(MAX(LAT_N), 4)
FROM STATION
WHERE LAT_N < 137.2345
SELECT round(max(Lat_n),4)
FROM Station
WHERE Lat_n < 137.2345
Comments