nerdexam
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)
  • A
    16% (4)
  • B
    4% (1)
  • C
    8% (2)
  • D
    72% (18)

Community Discussion

No community discussion yet for this question.

Full 70-433 Practice