You administer a Microsoft SQL Server database named ContosoDb. Tables are defined as shown in the exhibit. (Click the Exhibit button.)
You need to display rows from the Orders table for the Customers row having the CustomerId value set to 1 in the following XML format:
<CUSTOMERS Name="Customer A" Country="Australia">
<ORDERS OrderID="1" OrderDate="2000-01-01T00:00:00" Amount="3400.00" />
<ORDERS OrderID="2" OrderDate="2001-01-01T00:00:00" Amount="4300.00" />
</CUSTOMERS>
Which Transact-SQL query should you use?
lilupv
4 years, 9 months ago