Microsoft
70-451 · Question #39
70-451 Question #39: Real Exam Question with Answer & Explanation
Sign in or unlock 70-451 to reveal the answer and full explanation for question #39. The question stem and answer options stay visible for context.
Question
You are a database developer. You plan to design a database solution by using SQL Server 2008. The database will contain a table that has a parent-child relationship to itself. Each child might also be a parent. This might exist up to 10 levels deep. You need to retrieve all levels by using a single Transact-SQL query. What should you do?
Options
- AWrite a query to return the first level, and then add a correlated subquery to get the
- BWrite a query to return the first level, and then use the CROSS JOIN operator to join the
- CCreate a common-table expression to return the first level and then union back to itself to
- DCreate a view that returns the first level, and then use the FULL OUTER JOIN operator to
Unlock 70-451 to see the answer
You've previewed enough free 70-451 questions. Unlock 70-451 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.