0% found this document useful (0 votes)
30 views

Assignment 2

The document contains instructions for making 13 changes or performing 13 queries on client master and product master tables in a database. The instructions include: 1) updating the selling price of a product, 2) deleting a client record, 3) updating a client's city, 4) updating a client's balance due, 5) finding products above a price point and updating their prices, 6) finding clients by the second letter of their city, 7) finding clients by the second letter of their name, 8) sorting products by description, 9) counting total orders, 10) calculating average product price, 11) calculating minimum product price, 12) determining and renaming maximum and minimum prices, and 13) counting products above

Uploaded by

sruthi kunam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

Assignment 2

The document contains instructions for making 13 changes or performing 13 queries on client master and product master tables in a database. The instructions include: 1) updating the selling price of a product, 2) deleting a client record, 3) updating a client's city, 4) updating a client's balance due, 5) finding products above a price point and updating their prices, 6) finding clients by the second letter of their city, 7) finding clients by the second letter of their name, 8) sorting products by description, 9) counting total orders, 10) calculating average product price, 11) calculating minimum product price, 12) determining and renaming maximum and minimum prices, and 13) counting products above

Uploaded by

sruthi kunam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Assignment No.

# 2

Question.1 Using the table client master and product master answer the following
Questionnaires.

i. Change the selling price of ‘1.44 floppy drive to Rs.1150.00


ii. Delete the record with client 0001 from the client master table.
iii. Change the city of client_no’0005’ to Bombay.
iv. Change the bal_due of client_no ‘0001, to 1000.
v. Find the products whose selling price is more than 1500 and also find the new
selling price as original selling price *15.
vi. Find out the clients who stay in a city whose second letter is a.
vii. Find out the name of all clients having ‘a’ as the second letter in their names.
viii. List the products in sorted order of their description.
ix. Count the total number of orders
x. Calculate the average price of all the products.
xi. Calculate the minimum price of products.
xii. Determine the maximum and minimum prices . Rename the tittle as ‘max_price’
and min_price respectively.
xiii. Count the number of products having price greater than or equal to 1500.

You might also like