3Practical File -12 CS (1)
3Practical File -12 CS (1)
ITEM
CODE I_NAME PRICE SNO
C1 COLD DRINK 150 2
B2 BISCUITS 100 3
T3 TEA 200 1
a) Display Item code and item name whose price is more than 100 in the descending order of price.
b) Show Item name and their respective supplier name.
c) Display Supplier no, supplier name who have supplied item for which item code is B2.
d) List the Item name, price, and supplier name of item(s) which have been supplied by a supplier of
JAIPUR.
e)
25. Consider following tables and answer queries (a) to (c) and write down the output of (d) : -
CUSTOMER
Cust_ID CNAME GENDER CITY CLUB_ID
C01 DEVESH M NEW DELHI 101
C02 SURAJ M JAIPUR 102
C03 SHEELA F UDAIPUR 102
C04 MEENAKSHI F JAIPUR 101
C04 AAKRITI F UDAIPUR 103
CLUB
CLUB_ID CLUB_NAME FEES
101 YOGA 800
102 MUSIC 1000
103 SPORTS 2000
TABLE:ORDER
ORDERID CUSTOMERID ORDERDATE
1 101 12/5/2016
2 102 3/8/1990
3 101 21/9/2020