Professional Documents
Culture Documents
LIST OF PRACTICALS
COMPUTER SCIENCE (C++)
CLASS XII
S.
No
1
List of Experiments
4
5
6
Month
Dol
April
May
May
May
E-Doll
dddD
S-Doll
Barbie
Doll
7
8
9
10
11
12
13
14
15
16
17
18
19
20
October
October
October
October
Novemb
er
21
SQL Queries 2
22
SQL Queries 3
Novemb
er
Novemb
er
Itemno
2005
2003
2002
2006
2001
2004
2009
Item
Sharpener Classic
Ball Pen 0.25
Gel Pen Premium
Gel Pen Classic
Eraser Small
Eraser Big
Ball Pen 0.5
Scode
23
22
21
21
22
22
21
Table : STORE
Qty
60
50
150
250
220
110
180
Rate
8
25
12
20
6
8
18
LastBuy
30-Jun-09
1-Feb-10
24-Feb-10
11-Mar-09
19-Jan-09
2-Dec-09
3-Nov-09
sname
Premium Staioners
Soft Plastics
Tera Supply
Display details of all the items in the STORE table in ascending order of lastbuy.
Select * from STORE order by lastbuy;
(ii)
Display Itemno and itemname of those items from STORE table whose rate is
(iii)
(iv)
(v)
table STORE.
Select scode, min (rate) from STORE group by scode;
Display item name, qty of items of supplier Tera Supply.
Select item,qty from STORE S, Suppliers P
where (S.scode=P.scode and P.sname='Tera Supply';
Table: WORKER
ECOD
E
11
12
13
15
NAME
DESIG
PLEVEL
DOJ
DOB
P001
13- Sep2004
22-Feb2010
14-Jun2009
21-Aug2006
23-Aug1981
12-Jul1987
14-0ct1983
13-Mar1984
P003
P003
P002
18
Sanya
Clerk
P002
19-Dec2005
09-Jun1983
PAY
26000
22000
12000
ALLOWANCE
12000
10000
6000
SQL> create table PAYLEVEL (plevel char (5), pay decimal, allowance decimal);
SQL> insert into paylevel values ('P001',26000,12000);
SQL> insert into paylevel values('P002',22000,10000);
SQL> insert into paylevel values('P003',12000,6000);
PLEVEL
-----------P001
P002
P003
NAME
PAY
-----------------------------Radhe Shyam
26000
Chander Nath 12000
PAY+ALLOWANCE
-------------------------------18000
Table: PROUDCT
PID
TP01
FW05
BS01
SH06
FW12
Productnam
e
Talcum Powder
Face Wash
Bath Soap
Shampoo
Face Wash
Manufact
urer
LAK
ABC
ABC
XYZ
XYZ
Price
40
45
55
120
95