What does the SQL ROUND(3.14159, 2) function return?

SQL Fundamentals Medium

SQL Fundamentals — Medium

What does the SQL ROUND(3.14159, 2) function return?

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 indicates the number of decimal places to round to.
  • In this case, 3.14159 rounded to 2 decimal places is 3.14.

Ready to go further?

Related questions