DP-700 Exam QuestionsBrowse all questions from this exam

DP-700 Exam - Question 62


HOTSPOT -

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

You need to denormalize the tables and include the ContractType and StartDate columns in the Employee table. The solution must meet the following requirements:

Ensure that the StartDate column is of the date data type.

Ensure that all the rows from the Employee table are preserved and include any matching rows from the Contract table.

Ensure that the result set displays the total number of employees per contract type for all the contract types that have more than two employees.

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

NOTE: Each correct selection is worth one point.

Show Answer
Correct Answer:

Discussion

9 comments
Sign in to comment
werfragt
Jan 17, 2025

First part is CONVERT and not CAST

doctordodge
Jan 25, 2025

Agreed, based on the syntax of (<data type>, <column name>).

Blue_MSBI
Feb 24, 2025

CONVERT, LEFT OUTER, HAVING

8d6881f
Jan 29, 2025

CAST(c.StartDate as date) vs CONVERT(date, c.StartDate)

2e6975f
Feb 15, 2025

CONVERT LEFT OUTER JOIN HAVING

giraf
Feb 17, 2025

convert, inner, having Convert: No doubt. inner: You only need contracttypes with more than 2 employees. So, why use left join? Inner join already filters out contracts and employees you won't need for aggregation. having: No doubt

LasAnsias
Apr 16, 2025

CONVERT LEFT (Ensure that all the rows from the Employee table are preserved and include any matching rows from the Contract table.) HAVING

MultiCloudIronMan
Feb 15, 2025

Right outer join and cast

vish9
Mar 9, 2025

Syntaxt for Cast is different. It does not fit here. CONVERT(DATE, c.startdate) AS startdate CAST(c.startdate AS DATE) AS startdate

nicknamealready
May 5, 2025

CONVERT, LEFT OUTER, HAVING