Answers for "sql round no decimal"

SQL
3

SQL rounding numbers

SELECT 2.555555; --> Result 2.555555
SELECT ROUND(2.555555); --> Result 3
SELECT ROUND(2.555555, 3); --> Result 2.556
SELECT ROUND(2.555555, 0); --> Result 3
Posted by: Guest on November-24-2020
0

SHOW RESULT WITHOUT ROUND IN SQL

SELECT CAST(ROUND(SQRT(POWER(MIN(LAT_N)-MAX(LAT_N), 2) + POWER(MIN(LONG_W)-MAX(LONG_W), 2)), 4) AS NUMERIC(18,4))FROM STATION;
Posted by: Guest on July-28-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language