List of Practicals of XII Computer Science 083 Practical Files 2022 23
List of Practicals of XII Computer Science 083 Practical Files 2022 23
List of Practicals of XII Computer Science 083 Practical Files 2022 23
www.mycstutorial.in | www.anjeevsinghacademy.com
Class XII – Computer Science [083]
CBSE Board Examination
Practical File / Report File
SQL Queries
S. Practical’s Name Page Teacher’s
No. No. Signature
1 Create a student table (ADMNO, CLASS-SEC, NAME, SCORE) and insert
data. Implement the following SQL commands on the student table:
ALTER table to add new attributes (SEX CHAR(1) / modify data
type CHAR to VARCHAR/ drop attribute SEX
UPDATE table to modify data- Increase the marks of all students
by 10 who scored less than 20.
ORDER BY to display data in ascending / descending order by (i)
NAME wise (ii) SCORE wise
DELETE to remove tuple(s) having SCORE less than 10.
GROUP BY and find the min, max, sum, count and average
2 Create a EMPLOYEE table (EID, NAME, SALARY, DEPT) and insert data.
Implement the following SQL commands on the student table:
ALTER table to add new attributes – HRA INT(5) / modify data type
of HRA to decimal / drop attribute HRA
UPDATE table to modify data – increase the salary by 10%
ORDER BY to display data in ascending / descending order (i)
SALARY wise (ii) EID wise
DELETE to remove tuple(s) – employee having emp id 101
GROUP BY and find the min, max, sum, count and average.