What Database expression transforms the input to the output?

Refer to the exhibit.

What Database expression transforms the input to the output?

A)

B)

C)

D)

A . Option A
B . Option B
C . Option C
D . Option D

Answer: D

Explanation:

This kind of questions are best solved with filtering technique. Key thing to note here is XML attributes are always access by @ notation. So in this example orderId can be accessed as @OrderId which makes option 3 and option 4 false. Now difference in optin and option 2 is in mapping of lineItemPrice. Correct syntax to format a String in Numbse is value.price as Number. Hence option 2 is correct

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments