Oracle
1Z0-882 · Question #103
You want to compare all columns of table A to columns with matching names in table B. You want to select the rows where those have the same values on both tables. Which query accomplishes this?
The correct answer is D. SELECT * FROM tableA NATURAL JOIN tableB. See the full explanation below for the reasoning.
Question
You want to compare all columns of table A to columns with matching names in table B. You want to select the rows where those have the same values on both tables. Which query accomplishes this?
Options
- ASELECT * FROM tableA. tableB
- BSELECT * FROM tableA JOIN tableB
- CSELECT * FROM table A INNER JOIN tableB
- DSELECT * FROM tableA NATURAL JOIN tableB
- ESELECT & FROM tableA STRAIGHT JOIN tableB
How the community answered
(28 responses)- A4% (1)
- B11% (3)
- D82% (23)
- E4% (1)
Community Discussion
No community discussion yet for this question.