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((C+D) - (A+B) AS DECIMAL(10,4)) AS FCK
FROM (
SELECT ROUND(MIN(LAT_N),4) AS A,
ROUND(MIN(LONG_W),4) AS B,
ROUND(MAX(LAT_N),4) AS C,
ROUND(MAX(LONG_W),4) AS D
FROM STATION)
AS FCKING; =========================================259.6859=================
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 18
You are viewing a single comment's thread. Return to all comments →
SELECT CAST((C+D) - (A+B) AS DECIMAL(10,4)) AS FCK FROM ( SELECT ROUND(MIN(LAT_N),4) AS A, ROUND(MIN(LONG_W),4) AS B, ROUND(MAX(LAT_N),4) AS C, ROUND(MAX(LONG_W),4) AS D FROM STATION) AS FCKING; =========================================259.6859=================