Multiple choice technology databases

Compare the output of the following: SELECT TRUNC(99.57,1) FROM DUAL; and SELECT ROUND(99.57,1) FROM DUAL;

  1. 99.57,99,6

  2. 99.5,99.6

  3. 99.6,99.6

  4. 99.57,99.57

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

TRUNC(99.57,1) cuts the number to one decimal place without rounding, yielding 99.5. ROUND(99.57,1) rounds to the nearest tenth, producing 99.6. The selected option matches these results, while the other choices misrepresent one or both functions.