Assignment 5
Assignment 5
Client :-
Client Bal.du
no Name City State Pincode e
Maharast
0001 Ivan Bombay ra 400054 15000
Vandan Tamilnad
0002 a Madras u 7 40001 0
Pramad Maharast
0003 a Bombay ra 400057 5000
Maharast
0004 Basu Bombay ra 400056 0
0005 Ravi Delhi 100001 2000
Maharast
0006 Rukmini Bombay ra 400050 0
Product:-
Profit Unit_ Reorder_
Product Descri Qty_on_ Sell_p
_perc meas lvl_numb Cost
_no ption hand rice
ent ure er
1.44fl
P00001 5 piece 100 20 525 500
oppies
Monit 1200
P03453 6 piece 10 3 11200
ors 0
Mous
P06734 5 piece 20 5 1050 500
e
1.22
P07
floppi 5 piece 100 20 525 500
465
es
P07 46 Keybo
2 piece 10 3 3150 3050
4 ards
P07 4 CD
2.5 piece 10 3 5250 5100
45 Drive
540
P07965 4 piece 10 3 4400 4000
HDD
1.44
P07975 5 piece 10 3 1050 1000
Drive
10
P0 4 1.22
5 piece 2 3 1050
465 Drive
00
Using the table client and product answer the following questionaries:
5. Find the products whose selling price is more than 1500 and also find the new selling price
as original selling price *5.
6. Find out the clients who stay in a city whose second letter is a.
7. Find out the name of all clients having only/atleast 4 letters in their names.
12. Determine the maximum and minimum prices. Rename the title as max_price and min_price
respectively.
13. Count the number of products having price greater than or equal to 1500.
15. Divide the cost of product '540 HDD' by difference between its price and 100.