QuestionQ207

VerifiedUsing the Set Operators

Which three queries run successfully?

Choose three
Explanation

Oracle DATE subtraction returns a numeric day difference, and a numeric value can be subtracted from a DATE as a number of days. DATE values cannot be divided. Therefore, the valid expressions are the one that subtracts a DATE from SYSDATE before subtracting 1, the one that subtracts 1 from SYSDATE before subtracting a DATE, and the one that divides a DATE difference by 1.

Learn more

Community Discussion

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