Professional Documents
Culture Documents
Print 2
Print 2
2) Consider the following tables and give the answers of the following Questions:
Stock Table
Order_ID Item_Name Qty Price
O200 Ball pen 100 10
O201 Gel Pen 150 15
O203 Eraser 125 5
O204 Pencil 200 7
O205 Ruler 100 5
Customer table
d) To display details of all items in the stock table in ascending order of item
name.
e) To display Quantity and item name of those item whose unit price is more than
10.
f) To Display Customer name, Item name and Price for all items.
g) To Display Customer id, Customer name, Item name from the given table.
h) To Display Customer name, Item name of those items whose Quantity is more
than 10.
Description of table
e) Display the Student name in uppercase, class and marks from the given table.