What does `ROUND(3.14159, 2)` return in SQL?

Advanced SQL Developer Easy

Advanced SQL Developer — Easy

What does `ROUND(3.14159, 2)` return in SQL?

Key points

  • The ROUND function in SQL is used to round a number to a specified number of decimal places.
  • The second argument in the ROUND function determines the number of decimal places to round to.
  • In this case, rounding 3.14159 to 2 decimal places results in 3.14.

Ready to go further?

Related questions