Practical 5 Questions
Practical 5 Questions
CAMPUS(ES) APB
SEMESTER First
ASSESSOR(S)
Question 3 (5)
Write a statement that retrieves the customer’s name, order number, and order date
for all orders placed by customers in the 'London' working area.
Question 4 (9)
Retrieve the customer names and cities from the 'CUSTOMER' table for customers
who have made an order with an amount greater than the maximum advance
amount. (Note: use Subqueries).
Question 5 (6)
Retrieve the agent’s name and the total amount of orders placed by each agent.
Question 6 (8)
For customers that paid more than the average PAYMENT_AMT, deduct 10% of their
Outstanding amount in a new column called "NEW_OUTSTANDING_AMT". Display
their Names and the new outstanding fields.