QuestionQ132

VerifiedUsing the Set Operators

Review the description of the BRICKS table:

Question Image

Review the description of the BRICKS_STAGE table:

Question Image

Which two queries run successfully?

Choose two
Explanation

For an Oracle MINUS compound query, the two select lists must contain the same number of expressions, and expressions in the same position must belong to the same data type group. The valid queries align NUMBER with NUMBER and VARCHAR2 with VARCHAR2 (A), or align two character expressions in both positions (D). Column names do not have to match; positional data-type compatibility does.

Learn more

Community Discussion

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