QuestionQ168

VerifiedDisplaying Data from Multiple Tables

Examine the data in the COLORS table:

Question Image

Examine the data in the BRICKS table:

Question Image

Which two queries return every row from COLORS?

Choose two
Explanation

A RIGHT JOIN retains all rows from its right-side table, and a FULL JOIN retains all rows from both joined tables. With COLORS on the preserved side in each case, the unmatched blue color is included along with the matched red and green rows.

Community Discussion

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