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.
Weather Observation Station 15
Weather Observation Station 15
+ 0 comments MySQL
SELECT ROUND(Long_w, 4) FROM Station WHERE Lat_n < 137.2345 ORDER BY Lat_n DESC LIMIT 1;
+ 0 comments select round(long_w,4) from station where lat_n = (select max(lat_n) from station where lat_n < 137.2345
+ 0 comments mySql:
one way:
select round(long_w,4) from station where lat_n = (select max(lat_n) from station where lat_n<137.2345)
other easy way but little bit different logic
+ 0 comments select Round(LONG_W,4) from STATION where LAT_N<137.2345 order by LAT_N DESC LIMIT 1
+ 0 comments WITH CTE AS ( SELECT LONG_W FROM STATION
WHERE LAT_N < 137.2345)SELECT TOP 1 CAST(LONG_W AS NUMERIC (16,4)) FROM CTE WHERE LAT_N < 137.2345 ORDER BY LAT_N DESC;
Load more conversations
Sort 1362 Discussions, By:
Please Login in order to post a comment