Multiple choice technology databases

What will be the Output for Select Abs(25-45)

  1. Abs is not a recognized function name

  2. -20

  3. 20

  4. None

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The expression 25-45 evaluates to -20, and the ABS() function returns the absolute value, which is 20. ABS is a valid SQL Server function that returns the magnitude of a number.