QuestionQ11

VerifiedRetrieving data using the SQL SELECT statement

Which two of the following queries execute successfully?

Choose two
Explanation

Oracle supports subtraction between compatible INTERVAL DAY TO SECOND values and addition of a day-to-second interval to a timestamp. It does not support arithmetic that subtracts a DATE from an interval or multiplies a DATE by an interval, and INTERVAL DAY and INTERVAL MONTH belong to incompatible interval families.

Learn more

Community Discussion

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