Machine-translated by Google. Questions are authored in English.
Top

Discussion

What type of JOIN returns all records from both tables ?

  • A.INNER JOIN
  • B.LEFT JOIN
  • C.RIGHT JOIN
  • D.FULL OUTER JOIN

Answer: D

The join that returns all records from both tables is the FULL OUTER JOIN.

A full outer join returns every matching pair of rows, plus every unmatched row from the left table and every unmatched row from the right table, with NULLs filling the columns that have no match.

An INNER JOIN keeps only the rows that match in both tables. A LEFT JOIN keeps all rows of the left table but only the matching rows of the right, and a RIGHT JOIN does the reverse.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.