Question
A)Write a query to return the listing of customers who did not make purchase during the invoicing period. Sort the results by customer code. B)Write
A)Write a query to return the listing of customers who did not make purchase during the invoicing period. Sort the results by customer code.
B)Write a query to list the most popular products p_code and p_descript. Products popularity is defined by the total quantity that have already been sold [Hint: you can use view]
C)Write a PL/SQL anonymous block to list those customers full name who has some balance. [Hint: use cursor]
D)Write a PL/SQL anonymous block to calculate the subtotal of an invoice. Initialize a scalar variable to a specified invoice.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started