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 16
Weather Observation Station 16
Sort by
recency
|
862 Discussions
|
Please Login in order to post a comment
why this query shows wrong answere
SELECT CAST(MIN(LAT_N) AS DECIMAL(10,4)) FROM STATION WHERE LAT_N > 38.7780;
OUTPUT: 38.8526
SELECT ROUND(MIN(LAT_N),4) FROM STATION WHERE LAT_N > 38.7780;
SELECT ROUND(lat_n, 4) FROM station WHERE lat_n > 38.7780 ORDER BY lat_n ASC LIMIT 1
DB2: select cast(round(MIN(LAT_N), 4) as decimal(18,4)) from station where LAT_N>38.7780; testcase passed.
Select round(min(LAT_N),4) from station where LAT_N>38.7780;