exam questions

Exam DP-600 All Questions

View all questions & answers for the DP-600 exam

Exam DP-600 topic 1 question 99 discussion

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

HOTSPOT
-

You have a Fabric warehouse that contains a table named Sales.Orders. Sales.Orders contains the following columns.



You need to write a T-SQL query that will return the following columns.



How should you complete the code? To answer, select the appropriate options in the answer area.

NOTE: Each correct answer 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
stilferx
Highly Voted 1 year, 1 month ago
IMHO, datetrunc & weekday https://learn.microsoft.com/en-us/sql/t-sql/functions/datetrunc-transact-sql?view=sql-server-ver16 https://learn.microsoft.com/en-us/sql/t-sql/functions/datename-transact-sql?view=sql-server-ver16
upvoted 19 times
...
e0f0ce6
Highly Voted 1 year, 1 month ago
Just echecked it. Date trunc returns the first date of the month and datepart just the month number. So given answer is correct.
upvoted 10 times
...
zvezdan
Most Recent 8 months, 3 weeks ago
Note: The weekday, timezoneoffset, and nanosecond T-SQL dateparts aren't supported for DATETRUNC. https://learn.microsoft.com/en-us/sql/t-sql/functions/datetrunc-transact-sql?view=sql-server-ver16
upvoted 1 times
...
dp600
1 year, 2 months ago
The DATETRUNC function returns an input date truncated to a specified datepart. answer is correct
upvoted 1 times
...
mo20080858
1 year, 2 months ago
DATEFROMPARTS , weekday are the correct answers
upvoted 1 times
...
Nefirs
1 year, 2 months ago
answer is correct
upvoted 4 times
...
clux
1 year, 2 months ago
correct
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 ...