Академический Документы
Профессиональный Документы
Культура Документы
Table: GAMES
GCode GameName No_Players PrizeMoney ScheduleDate
101 Carom Board 2 5000 23-Jan-2011
102 Badminton 2 12000 12-Apr-2011
103 Table Tennis 4 8000 14-Feb-2011
105 Chess 2 9000 11-Jan-2011
108 Lawn Tennis 4 25000 19-May-2011
Table: PLAYER
PCode PlayerName GCode
11 Nabi Ahmad 101
12 Ravi Sahai 108
13 Jatin 101
14 Nazneen 103
i) To display name of those games whose PrizeMoney is in the
range 10000 to 30000 and No_Players above 2.
ii) To display the details of games in ascending order based upon
ScheduleDate.
iii) To display minimum and maximum prizemoney.
(iv) Display each PCode, PlayerName and the GameName for
which they have enrolled.
iv) Display total price value.
SET – 8
TABLE : CLIENT
C_ID ClientName City P_ID
01 Cosmetic Soap Delhi FW05
06 Total Health Mumbai BS01
12 Live Life Delhi SH06
15 Pretty Delhi FW12
16 Dreams Banglore TP01
1.Write a program to implement QUEUE using linked list with student roll number
and name information.
ISSUED
Book_Id Quantity_Issued
T01 4
C01 5
F01 2
C01 6
T02 3
i)To list the names from books of Text type.
ii) To display the names and price from books in ascending order of their
price.
iii) To increase the price of all books of EPB publishers by 50.
vi) To display the Book Name, Quantity_Issued and Price for all books of
EPB publishers.
v) To display number of books in each type.
SET – 6
TABLE : GRADUATE
i)List the names of those students who have obtained DIV 1 sorted by NAME.
ii)Display a report, listing NAME, STIPEND, SUBJECT and amount of stipend
received in a year assuming that the STIPEND is paid every month
iii)To count the number of students who are either PHYSICS or COMPUTER SC.
iv)Display name subject and advisor from both the table.
v)Increase stipend by 100.
SET – 3
TABLE : PRODUCCT
P_ID ProductName Manufacture Price
TP01 Talcom LAK 40
Powder
FW05 Face Wash ABC 45
BS01 Bath Soap ABC 55
SH06 Shampoo XYZ 120
FW12 Face Wash XYZ 95
TABLE : CLIENT
C_ID ClientName City P_ID
01 Cosmetic Soap Delhi FW05
06 Total Health Mumbai BS01
12 Live Life Delhi SH06
15 Pretty Delhi FW12
16 Dreams Banglore TP01
TABLE: PRODUCT
PN PNAME PCITY
P1 BREAD DELHI
P2 CAKE DELHI
P3 COFFEE KOLKATA
P4 SAUCE JAIPUR
TABLE: SUPPLIER
SN PNAME SNAME QTY PRICE CITY
S1 BREAD BRITANIA 150 8 DELHI
S2 CAKE BRITANIA 250 20 MUMBAI
S3 COFFEE NESACAFE 170 45 MUMBAI
S4 CHOCOLATE AMUL 380 10 DELHI
S5 SAUCE KISSAN 470 36 JAIPUR
2. TABLE: PRODUCT
PN PNAME PCITY
P1 BREAD DELHI
P2 CAKE DELHI
P3 COFFEE KOLKATA
P4 SAUCE JAIPUR
TABLE: SUPPLIER
SN PNAME SNAME QTY PRICE CITY
S1 BREAD BRITANIA 150 8 DELHI
S2 CAKE BRITANIA 250 20 MUMBAI
S3 COFFEE NESACAFE 170 45 MUMBAI
S4 CHOCOLATE AMUL 380 10 DELHI
S5 SAUCE KISSAN 470 36 JAIPUR
Table: PLAYER
PCode PlayerName GCode
11 Nabi Ahmad 101
12 Ravi Sahai 108
13 Jatin 101
14 Nazneen 103
i) To display name of those games whose PrizeMoney below
10000 and No_Players above 2.
ii) To display the details of games whose GameName end with ‘s’
in ascending order of ScheduleDate.
iii) To count no of players.
v) Display each PCode, PlayerName and the GameName for
which they have enrolled.
v) Display total price value.
SET – 7
ISSUED
Book_Id Quantity_Issued
T01 4
C01 5
F01 2
C01 6
T02 3
TABLE : GRADUATE
i) List the names of those students who have obtained DIV 1 sorted
by NAME.
ii)Display a report, listing NAME, STIPEND, SUBJECT and amount of
stipend received in a year assuming that the STIPEND is paid every
month.
iii)To count the number of students who are either PHYSICS or
COMPUTER SC.
iv)Display name subject and advisor from both the table.
v)Increase stipend by 100.