nerdexam
Microsoft

70-451 · Question #87

You are a database developer. You plan to design a database solution by using SQL Server 2008. You have a database that contains a table and a table-valued function. The table-valued function…

The correct answer is A. CROSS APPLY. See the full explanation below for the reasoning.

Question

You are a database developer. You plan to design a database solution by using SQL Server 2008. You have a database that contains a table and a table-valued function. The table-valued function accepts the primary key from the table as a parameter. You plan to write a query that joins the table to the results of the table-valued function. You need to ensure that only rows from the table that produce a result set from the table-valued function are returned. Which join predicate should you use?

Options

  • ACROSS APPLY
  • BOUTER APPLY
  • CINNER JOIN
  • DLEFT OUTER JOIN

How the community answered

(33 responses)
  • A
    76% (25)
  • B
    15% (5)
  • C
    6% (2)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 70-451 Practice