Final IP File
Final IP File
Practical File
Class: XI
Session 2024-25
Submitted
By: _____________________ To: Ms. Mandeep Ma’am (PGT-IP)
RICHMONDD GLOBAL SCHOOL
BONAFIDE CERTIFICATE
Certified that this Practical File of Informatics Practices (065) is the bonafide
work of __________________ Class & Section _____________, during the
Academic Year 2024-25 who carried out the Practical File under my
supervision.
Submitted to:
Ms. Mandeep Ma’am
Signature:
Practical No. 16
B. Display the details of those games which are having Fees more
than 7000
c. Display the record of all the member whose fees is less than
8000
Code:
a. To create a database
Ans. INSERT INTO student VALUES (1, ‘Chaarvi’, ‘2005-01-01’, ‘Female’, 11,
‘B’, 30);
INSERT INTO student VALUES (2, ‘Tanish’, ‘2005-02-04’, ‘Male’, 11, ‘O’, 25);
INSERT INTO student VALUES (3, ‘Diya’, ‘2005-08-12’, ‘Female’, 11, ‘D’, 23);
INSERT INTO student VALUES (4, ‘Saaniya’, ‘2005-05-07’, ‘Female’, 11, ‘E’,
29);
INSERT INTO student VALUES (5, ‘Mansi’, ‘2005-04-09’, ‘Female’, 11, ‘E’, 19);
INSERT INTO student VALUES (6, ‘Yogita’, 2005-03-02’, ‘Female’, 11, ‘A’, 22);
INSERT INTO student VALUES (7, ‘Pari’, ‘2005-05-06’, ‘Female’, 11, ‘B’, 15);
INSERT INTO student VALUES (8, ‘Shomanshi’, ‘2005-04-05’, Female’, 11, ‘C’,
18);
INSERT INTO student VALUES (9, ‘Tamanna’, ‘2005-10-11’, ‘Female’, 11, ‘D’,
20);
INSERT INTO student VALUES (10, ‘Rahul’, ‘2005-09-10’, ‘Male’, 11, ‘E’, 27);
d. To delete the details of a particular student in the above table.
Ans. UPDATE student SET marks = marks + (marks * 0.5) where marks >20;
Ans. SELECT studentid, name, dob FROM student WHERE dob BETWEEN
‘2005-01-01’ AND ‘2005-12-31’;
m. To display Studentid, Name, DOB, Marks, Email of those male
students in ascending order
Ans. SELECT studentid, name, dob, marks, email FROM student WHERE
gender=‘Male’ ORDER BY name;
Ans. SELECT studentid, name, dob, gender, marks, email FROM student
ORDER BY marks DESC;