exam questions

Exam DP-600 All Questions

View all questions & answers for the DP-600 exam

Exam DP-600 topic 1 question 179 discussion

Actual exam question from Microsoft's DP-600
Question #: 179
Topic #: 1
[All DP-600 Questions]

HOTSPOT
-

You have a Fabric workspace that contains a warehouse named DW1. DW1 contains the following tables and columns.



You need to summarize order quantities by year and product. The solution must include the yearly sum of order quantities for all the products in each row.

How should you complete the T-SQL statement? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
zxc01
3 months, 1 week ago
As I understood, "You need to summarize order quantities by year and product. The solution must include the yearly sum of order quantities for all the products in each row." means we need build report on 2 levels, top one is year and second level is year plus P.name. I think both ROLLUP and GROUPING SETS can match it. However, ROLLUP will give another row of total summary on whole table level. I cannot say which one this better because no enough information in question.
upvoted 2 times
...
Azure_2023
5 months, 1 week ago
This is a confusing one as both YEAR and ROLLUP would work here.
upvoted 4 times
Sr18
3 months ago
Year, Year(SO.Modified Date), P.Name Beacause RollUp will cause few extra rows with accumulate values. Grouping set could have been potential ans but Extra Year is throwing me off. But you can test and correct me.
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...