QuestionQ19

VerifiedUsing the Set Operators

Review the data in the INVOICES table:

Question Image

Review the data in the CURRENCIES table:

Question Image

Which query returns the currencies in CURRENCIES that do not appear in INVOICES?

Explanation

MINUS returns the distinct rows selected by its first query that are absent from its second query. Selecting currency_code from CURRENCIES and subtracting the currency_code values from INVOICES therefore returns GBP and CAD.

Learn more

Community Discussion

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