QuestionQ69

VerifiedUsing the Set Operators

Review the data in the ORDERS table:

Question Image

Review the data in the INVOICES table:

Question Image

Review this query:

Question Image

Which three rows does it return?

Choose three
Explanation

Oracle MINUS returns distinct rows selected by the first query that are not selected by the second query. Comparing the two-column rows removes (1, NULL) and (4, 01-FEB-2019) because they appear in both sets. The rows remaining are (2, NULL), (3, 01-JAN-2019), and (5, 01-MAR-2019).

Learn more

Community Discussion

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