CBSE Class 12 Informatics Practices MySQL Worksheet

Read and download the CBSE Class 12 Informatics Practices MySQL Worksheet in PDF format. We have provided exhaustive and printable Class 12 Informatics Practices worksheets for MySQL, designed by expert teachers. These resources align with the 2025-26 syllabus and examination patterns issued by NCERT, CBSE, and KVS, helping students master all important chapter topics.

Chapter-wise Worksheet for Class 12 Informatics Practices MySQL

Students of Class 12 should use this Informatics Practices practice paper to check their understanding of MySQL as it includes essential problems and detailed solutions. Regular self-testing with these will help you achieve higher marks in your school tests and final examinations.

Class 12 Informatics Practices MySQL Worksheet with Answers

Q1. a) Raju wants to change the schema of the table “ STUDENT ” which already exists in the database. Which command he will use.

1 b) Neha is not able to enter the details of students born after ‘ 30-Mar-2007’. Which constraint might be specified when the table was created.

1 c) What is the purpose of the following query. 1 SELECT COUNT(*) FROM ELECTION GROUP BY city.

d) What is the role of UNIQUE constraint? How is PRIMARY KEY constraint differ from UNIQUE key constraint.

2 e) What is the significant of ORDER BY command in SQL query.

2 f) ActivityName and ParticipantNo of table ACTIVITY given below 2 Activity Name ParticipantNo Relay 100X 4 16 High Jump 10 Shot Put 12 Long Jump 12 Discuss Throw 10 Based on this information, find the output of the following queries.

a) SELECT COUNT( DISTINCT ParticipantNo) FROM ACTIVITY;

b) SELECT ActivityName FROM ACTIVITY WHERE ActivityName LIKE ‘%p’;'

g) A table Employee in a database has a 4 columns and 2 rows in it. What is cardinality and degree if 3 more columns are added in the table? 1 Q2. A)Write an SQL query to create following table ‘ Supplier’ with following descriptions. 2 Table : Supplier Field Type Constraint Supp_id Varchar(5) Primary Key Supp_Name Varchar(20) Not Null City Varchar(20) Order_No Integer(10) Foreign key with reference to Order_No column in Order table Supp_Amount Decimal(6,2) Minimum 10000 b) In database there are two tables “Student” and “Stream” as below : Table: Student Sid Sname age Strid 1 Roondy 10 1 2 Joseph 12 1 3 Trinchu 14 2 4 Prithlon 11 3 5 Ahol 10 2 

Q. Create the following tables with the following constraints and values.
Table : TicketDetails

Field NameDatatypeSizeConstraint
TcodeChar5Primary Key
NameVarchar20Not Null
TicketsInt2Default 0
AcodeChar4 


Q. Add the following values to the above table

TcodeNameTicketsAcode
S001Meena7A01
S002Vani5A02
S003Meena9A03
S004Rhea3A04
S005Suraj1A05


Table : AgentDetails

Field NameDatatypeSizeConstraint
AcodeChar4 
ANameVarchar20 


Add the following values to the above table

AcodeAName
A01Mr. Robin
A02Mr. Ayush
A03Mr. Trilok
A04Mr. John

Q. To display Tcode,Name and Aname of all the records where the number of tickets sold is more than 5.

Q. To list out Name, Tickets,A_code and Aname for all the Agent Details.

Q. To list out all the Acode, Aname and corresponding Tcode where Aname ends with ‘k’.

Q. To Total number of tickets booked by each customer.

Q. To display total number of tickets booked by agent “Mr. Ayush”.

Q1. Create the Table Emp with the following constraints:

Field NameData TypeSizeConstraint
IDInt2Primary Key
NameVarchar20Not Null
AgeInt3 
AddressChar40 
SalaryInt7 
PhoneChar15 


Q2. Add the following records to the above table “Emp” and Write commands in SQL

IDNAMEAGEADDRESSSALARYPHONE
1Siddharth25A-4, Ashok Vihar, Delhi6200098110766656
2Chavi23B-21, Model Town, Mumbai7100099113423989
3Karan26KC-24, North Avenue, Bhopal6500098105393578
4Raunaq22A-152, Gomti Nagar, Lucknow8900099101393576
5Kunal27B-5/45, Uday Park, Delhi8000097653455654
6Karan25A-Block,AMT Vihar,Chennai94000945287653241
7Paul25S-25,BLB Appts, Bangalore75000988765442312


1. To display list of all employees below 25 years old.

2. To list names and respective salaries in descending order of salary.

3. To count the number of employees with names starting with ‘K’

4. To list names and addresses of those persons who have ‘Delhi’ in their address.

5. To list out all the employees whose salary is in between 70000 and 80000.

6. Count number of employees based on their age group.

7. To list out all the employee names whose phone number starts with ‘99’.

8. To display all the details of employee whose salary is above 85000.

9. To display all the employee names whose name contains the character ‘a’ anywhere.

Find the output:

1.select name from emp where sal=select max(sal) from emp;

2. select length(name) from emp where salary >82000;

3. select 9* 4 from emp where id>6;

4. select Left(address,4) from emp where id <3;

5. select mid(name,2,3) from emp where address like ‘%delhi%’;

CBSE Informatics Practices Class 12 MySQL Worksheet

Students can use the practice questions and answers provided above for MySQL to prepare for their upcoming school tests. This resource is designed by expert teachers as per the latest 2026 syllabus released by CBSE for Class 12. We suggest that Class 12 students solve these questions daily for a strong foundation in Informatics Practices.

MySQL Solutions & NCERT Alignment

Our expert teachers have referred to the latest NCERT book for Class 12 Informatics Practices to create these exercises. After solving the questions you should compare your answers with our detailed solutions as they have been designed by expert teachers. You will understand the correct way to write answers for the CBSE exams. You can also see above MCQ questions for Informatics Practices to cover every important topic in the chapter.

Class 12 Exam Preparation Strategy

Regular practice of this Class 12 Informatics Practices study material helps you to be familiar with the most regularly asked exam topics. If you find any topic in MySQL difficult then you can refer to our NCERT solutions for Class 12 Informatics Practices. All revision sheets and printable assignments on studiestoday.com are free and updated to help students get better scores in their school examinations.

Where can I download the 2025-26 CBSE printable worksheets for Class 12 Informatics Practices Chapter MySQL?

You can download the latest chapter-wise printable worksheets for Class 12 Informatics Practices Chapter MySQL for free from StudiesToday.com. These have been made as per the latest CBSE curriculum for this academic year.

Are these Chapter MySQL Informatics Practices worksheets based on the new competency-based education (CBE) model?

Yes, Class 12 Informatics Practices worksheets for Chapter MySQL focus on activity-based learning and also competency-style questions. This helps students to apply theoretical knowledge to practical scenarios.

Do the Class 12 Informatics Practices Chapter MySQL worksheets have answers?

Yes, we have provided solved worksheets for Class 12 Informatics Practices Chapter MySQL to help students verify their answers instantly.

Can I print these Chapter MySQL Informatics Practices test sheets?

Yes, our Class 12 Informatics Practices test sheets are mobile-friendly PDFs and can be printed by teachers for classroom.

What is the benefit of solving chapter-wise worksheets for Informatics Practices Class 12 Chapter MySQL?

For Chapter MySQL, regular practice with our worksheets will improve question-handling speed and help students understand all technical terms and diagrams.