QuestionQ67

VerifiedUsing Single-Row and Aggregate Functions

Consider the following query:

SELECT TRUNC(ROUND(156.00,-2),-1) FROM DUAL  

What result does it return?

Explanation

ROUND(156.00, -2) rounds the value to the nearest hundred, yielding 200. Applying TRUNC(200, -1) truncates to the tens position and leaves the value as 200.

Community Discussion

No comments yet. Be the first to start the discussion!