Microsoft
70-457 · Question #40
70-457 Question #40: Real Exam Question with Answer & Explanation
Sign in or unlock 70-457 to reveal the answer and full explanation for question #40. The question stem and answer options stay visible for context.
Question
You administer a Microsoft SQL Server 2012 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: <row OrderId="1" OrderDate="2000-01-01T00:00:00" Amount="3400.00" Name="Customer A" Country="Australia" /><row OrderId="2" OrderDate="2001-01-01T00:00:00" Amount="4300.00" Name="Customer A" Country="Australia" /> Which Transact-SQL query should you use?
Exhibit
Options
- ASELECT OrderId, OrderDate, Amount, Name, Country
- BSELECT OrderId, OrderDate, Amount, Name, Country
- CSELECT OrderId, OrderDate, Amount, Name, Country
- DSELECT OrderId, OrderDate, Amount, Name, Country
- ESELECT Name, Country, OrderId, OrderDate, Amount
- FSELECT Name, Country, Orderld, OrderDate, Amount
- GSELECT Name AS '@Name', Country AS '@Country', OrderId, OrderDate, Amount
- HSELECT Name AS 'Customers/Name', Country AS 'Customers/Country', OrderId,OrderDate,
Unlock 70-457 to see the answer
You've previewed enough free 70-457 questions. Unlock 70-457 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
