Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro SQL Server Wait Statistics

Authors: Enrico Van De Laar

1st Edition

1484211391, 9781484211397

More Books

Students also viewed these Databases questions