Microsoft
70-451 · Question #38
70-451 Question #38: Real Exam Question with Answer & Explanation
Sign in or unlock 70-451 to reveal the answer and full explanation for question #38. 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 includes a table that contains the following product inventory information: - Department - Class - Item - Quantity You plan to write a query that produces the sum of quantity data broken into the following groups: - Department - Department and Class - Department and Item - Department, Class, and Item You need to write the query by using the minimum possible number of Transact-SQL statements. What should you recommend?
Options
- AWrite a single query that contains a GROUP BY clause.
- BWrite a single query that contains a GROUP BY WITH CUBE clause.
- CWrite a single query that contains a GROUP BY WITH ROLLUP clause.
- DWrite a single query that contains a GROUP BY GROUPING SETS clause.
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.