MDFT Academy operates a Fabric warehouse that contains the following data.
Table name | Primary key | Foreign key |
---|---|---|
Student | StudentID | SalesRegion.SalesRegionlD |
StudentAddress | StudentID, AddressID | Student.StudentlD, Address.AddressID |
Address | AddressID | None |
SalesRegion | SalesRegionID | None |
The data has the following characteristics:
You need to create a view to denormalize the data into a Student dimension that contains one row per distinct StudentID value. The solution must minimize query processing time and resources.
You create the following T-SQL statement:
CREATE VIEW DimStudent AS
SELECT
C.StudentID,
C. StudentName,
SR. SalesRegion,
A.Address,
A.PostalCode,
A.City,
A.Country
FROM Student C
_____________ SalesRegion SR ON C.Sa1esRegionID = SR.SalesRegionID
INNER JOIN StudentAddress CA ON CA.StudentID = C.StudentID
INNER JOIN Address A ON A.AddressID = CA.AddressID
How should you complete the statement?
Choose the correct answer from the options below.
Explanations for each answer: