Microsoft
70-433 · Question #130
You have two tables named Products and NewProducts that have identical structures. You have the following query (Line numbers are included for reference only): 01 SELECT Product, Description 02 FROM…
The correct answer is D. INTERSECT. See the full explanation below for the reasoning.
Question
You have two tables named Products and NewProducts that have identical structures. You have the following query (Line numbers are included for reference only):
01 SELECT Product, Description 02 FROM dbo.Products 03 ........ 04 SELECT Product, Description 05 FROM dbo.NewProducts You need to choose the appropriate Transact-SQL operator to display rows that exist in both tables. Which Transact-SQL operator should you insert in line 03?
Options
- AUNION
- BEXCEPT
- CUNION ALL
- DINTERSECT
How the community answered
(25 responses)- A16% (4)
- B4% (1)
- C8% (2)
- D72% (18)
Community Discussion
No community discussion yet for this question.