We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
SELECT
CAST(LONG_W AS DECIMAL(10,4)) NewLong_W
FROM STATION
WHERE LAT_N =
(--Step1: Find the smallest LAT_N greater than 38.778
SELECT
TOP 1 LAT_N SmallestLat
FROM STATION
WHERE LAT_N > 38.778
ORDER BY LAT_N)
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Weather Observation Station 17
You are viewing a single comment's thread. Return to all comments →
SELECT CAST(LONG_W AS DECIMAL(10,4)) NewLong_W FROM STATION WHERE LAT_N = (--Step1: Find the smallest LAT_N greater than 38.778 SELECT TOP 1 LAT_N SmallestLat FROM STATION WHERE LAT_N > 38.778 ORDER BY LAT_N)