Files
Exercises
Using customerpayments.xml, answer the following questions using XPath.
- List all customers.
- Who is the last customer in the file?
- Select all customers in Sweden.
- List the payments of more than USD 50,000.
- Select the first payments by Toys4GrownUps.com.
- What was the payment date for check DP677013?
- Who paid with check DP677013?
- What payments were received on 2003-12-04
- Who made payments on 2003-12-04?
- List the numbers of all checks from customers in Denmark.
Using customerpayments.xml, answer the following questions using XQuery.
- List all customers.
- Who is the last customer in the file?
- Select all customers in Sweden sorted by customer name.
- List the payments of more than USD 50,000.
- Select the first payments by Toys4GrownUps.com.
- What was the payment date for check DP677013?
- Who paid with check DP677013?
- What payments were received on 2003-12-04
- Who made payments on 2003-12-04?
- List the numbers of all checks from customers in Denmark.