QuestionQ288

VerifiedReporting Aggregated Data Using the Group Functions

Which SQL statement produces a numeric value?

Explanation

Subtracting two Oracle DATE values returns the number of days between them, including any fractional-day component. Therefore, sysdate - hire_date produces a numeric value. ADD_MONTHS and date ROUND return DATE values, while TO_NUMBER does not directly accept a date expression as a supported numeric conversion input.

Learn more

Community Discussion

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