Microsoft
70-433 · Question #128
You have a table named Subcategories that contains subcategories for socks, vests and helmets. You have another table named Products that contains products only from the subcategories socks and…
The correct answer is B. Name ProductName. See the full explanation below for the reasoning.
Question
You have a table named Subcategories that contains subcategories for socks, vests and helmets. You have another table named Products that contains products only from the subcategories socks and vests. You have the following query:
SELECT s.Name, p.Name AS ProductName FROM Subcategories s OUTER APPLY (SELECT * FROM Products pr WHERE pr.SubcategoryID = s.SubcategoryID) p WHERE s.Name IS NOT NULL; You need to predict the results of the query. What results should the query produce?
Options
- AName ProductName
- BName ProductName
- CName ProductName
- DName ProductName
How the community answered
(27 responses)- A15% (4)
- B70% (19)
- C11% (3)
- D4% (1)
Community Discussion
No community discussion yet for this question.