CBSE Class 11 Information Practices Functions In My Sql Worksheet

Chapter-wise Worksheets for Class 11 Informatics Practices: Chapter 08 Introduction to Structured Query Language (SQL)

Access comprehensive chapter-wise worksheets for Chapter 08 Introduction to Structured Query Language (SQL) using the CBSE Class 11 Information Practices Functions In My Sql Worksheet. Designed to align with the 2026-27 academic syllabus for Class 11 Informatics Practices, these printable practice sets help students reinforce key concepts and improve their overall exam readiness.

Practice Class 11 Informatics Practices Worksheets: Chapter 08 Introduction to Structured Query Language (SQL)

View or download the dedicated CBSE Class 11 Information Practices Functions In My Sql Worksheet resource below. Engaging with these practice papers under focused study conditions ensures continuous academic progress and mastery of the 2026-27 curriculum for Chapter 08 Introduction to Structured Query Language (SQL).

Q1. Write the output for the following statements:

Statement

Output

Statement

Output

1

SELECT POW(2,4);

12

SELECT POW(2,-2);

2

SELECT POW(-2,3);

13

SELECT POW(-2,-3);

3

SELECT ROUND(-1.23);

14

SELECT ROUND(-1.57);

4

SELECT ROUND(-1.58);

15

SELECT ROUND(1.43);

5

SELECT ROUND(6.298,1);

16

SELECT ROUND(6.235,0);

6

SELECT ROUND(56.34,-1);

17

SELECT TRUNCATE(7.543,1);

7

SELECT TRUNCATE(4.567,0);

18

SELECT TRUNCATE(-76.56,1)

8

SELECT TRUNCATE(342,-2);

19

SELECT SQRT(25);

9

SELECT SQRT(125);

20

SELECT SIGN(-43);

10

SELECT SIGN(654);

21

SELECT SIGN(-25);

11

SELECT LENGTH(‘INDIA’);

22

SELECT LENGTH(‘4321’);

23

SELECT CONCAT(‘My’, ‘S’, ‘SQL’);

24

SELECT CONCAT(‘Class’, NULL, ‘XI’);

25

SELECT INSTR (‘INFORMATICS’, ‘FOR’);

26

SELECT INSTR (‘COMPUTERS’, ‘PER’);

27

SELECT INSTR (‘COMPUTER’, ‘pu’);

28

SELECT LOWER (‘INFORMATION’);

29

SELECT UPPER (‘Indian’);

30

SELECT LCASE (‘IT’);

32

SELECT UCASE (‘COMPUTER’);

 

Statement

Output

33

SELECT LEFT (‘Information’, 3);

34

SELECT LEFT(“SCIENCE”,6);

35

SELECT RIGHT (‘INFORMATICS’,4);

36

SELECT LTRIM (‘ Class ’);

37

SELECT RTRIM (‘ Class ’);

38

SELECT TRIM (‘ Class ’);

39

SELECT SUBSTRING (‘INFORMATICS’,3);

40

SELECT SUBSTRING (‘INFORMATION’, FROM 4);

41

SELECT SUBSTRING (‘INFORMATION’, 3,4);

42

SELECT SUBSTRING (‘INFORMATION’, -3);

43

SELECT SUBSTRING (‘INFORMATION’, -5,3);

44

SELECT SUBSTRING (‘INFORMATION’, FROM -4 FOR 2);

45

SELECT ASCII(‘B’);

46

SELECT CHAR(65);

47

SELECT CURDATE ( );

48

SELECT NOW ( );

49

SELECT SYSDATE ( );

50

SELECT DATE (‘2016-02-26 01:02:03’);

51

SELECT MONTH (‘2016-02-26’);

52

SELECT YEAR (‘2016-02-26’);

53

SELECT DAYNAME(‘2016-02-26’);

54

SELECT DAYOFMONTH(‘2016-02-26’);

55

SELECT DAYOFWEEK(‘2016-02-26’);

56

SELECT DAYOFYEAR(‘2016-02-26’);

 

Q1. Create a Table “Employee” with the following constraints

FIELD NAMEDATA TYPECONSTRAINTFIELD NAMEDATA TYPECONSTRAINT
empcodechar(4)PRIMARY KEY,NOT ULLempdojdate 
empnamevarchar(25)NOT NULLempdeptvarchar(20) 
empaddvarchar(30) empphoneint 
empgenderchar(1) empdesgvarchar(20) 
empdobdate empsalint 


Q2. Add 10 records to the above table “Employee”.

Q3. Write the following SQL commands on the basis of above table “Employee”

a) Show all the information of the employees.

b) Display all the employee names, designation and salary.

c) Display all the employee names and their salary in descending order.

d) Display all the different departments in the company.

e) Display all the details of Female Employee.

f) Display the employee name, address and phone number from “HR” department.

g) Display all the details of employee name starting with “a”.

h) Display all the employee details (name, designation , department and gender) with salary 1000 OR to 2000 OR.

i) Display all the details of the staff that joined from year 2000.

j) Display the names of all the “GM” in the company. (GM- General Manager).

k) Display the names of all the employees from “finance” department with salary more than 1000

l) Display the names of all the Male employees from “transport” department with salary less than 1000 .

m) Display the details of the entire employee NOT from “Sales” department.

n) Display the name, address of employee without phone number. 

Q1. Create a Table “Class” with the following constraints (Rollno(2), Name Varchar(30), Stipend number(5), Subject Char(25), Avgmark decimal(6,2),Grade char(1));

ROLLNONAMESTIPENDSUBJECTAVGMARKGRADE
1VIKAS1200MEDICAL67B
2BOBY1400HUMANITIES78.8B
3TARUN1000MEDICAL64.8C
4VARUN1800NON-MEDICAL84A
5ATUL1800NON-MEDICAL90A

Q2. Write the following SQL commands on the basis of above table “CLASS”

a) Display all the Non Medical stream students Name from the table Class.

b) List the Names that have grade “A” sorted by stipend in the ascending order.

c) Arrange the records Average marks wise .

d) List the records where grade is B or C.

e) Display the records where Name ends with N.

f) Display those records whose average mark in between 70 to 90.

g) Display the different Subjects in the table.

h) Display students Name where Avergemarks is more than 75.

i) Display all records in Descending order (Name) wise.

j) Insert a new row with the following data (06, ‘MITHUN’, 1300, ‘HUMANITIES’, ‘98’,’A’). 

 

Functions in MySQL
 

Question 1. Write the output for the following statements:
Answer:

Sl.No.StatementOutput
1SELECT POW(2,4);16
2SELECT POW(-2,3);-8
3SELECT ROUND(-1.23);-1
4SELECT ROUND(-1.58);-2
5SELECT ROUND(6.298,1);6.3
6SELECT ROUND(56.34,-1);60
7SELECT TRUNCATE(4.567,0);4
8SELECT TRUNCATE(342,-2);300
9SELECT SQRT(125);11.180339887498949
10SELECT SIGN(654);1
11SELECT LENGTH('INDIA');5
12SELECT POW(2,-2);0.25
13SELECT POW(-2,-3);-0.125
14SELECT ROUND(-1.57);-2
15SELECT ROUND(1.43);1
16SELECT ROUND(6.235,0);6
17SELECT TRUNCATE(7.543,1);7.5
18SELECT TRUNCATE(-76.56,1);-76.5
19SELECT SQRT(25);5
20SELECT SIGN(-43);-1
21SELECT SIGN(-25);-1
22SELECT LENGTH('4321');4
23SELECT CONCAT('My', 'S', 'SQL');'MySQL'
24SELECT CONCAT('Class', NULL, 'XI');NULL
25SELECT INSTR ('INFORMATICS', 'FOR');3
26SELECT INSTR ('COMPUTERS', 'PER');0
27SELECT INSTR ('COMPUTER', 'pu');4
28SELECT LOWER ('INFORMATION');'information'
29SELECT UPPER ('Indian');'INDIAN'
30SELECT LCASE ('IT');'it'
32SELECT UCASE ('COMPUTER');'COMPUTER'
33SELECT LEFT ('Information', 3);'Inf'
34SELECT LEFT("SCIENCE",6);'SCIENC'
35SELECT RIGHT ('INFORMATICS',4);'TICS'
36SELECT LTRIM (' Class ');'Class '
37SELECT RTRIM (' Class ');' Class'
38SELECT TRIM (' Class ');'Class'
39SELECT SUBSTRING ('INFORMATICS',3);'FORMATICS'
40SELECT SUBSTRING ('INFORMATION', FROM 4);'ORMATION'
41SELECT SUBSTRING ('INFORMATION', 3,4);'FORM'
42SELECT SUBSTRING ('INFORMATION', -3);'ION'
43SELECT SUBSTRING ('INFORMATION', -5,3);'ATI'
44SELECT SUBSTRING ('INFORMATION', FROM -4 FOR 2);'TI'
45SELECT ASCII('B');66
46SELECT CHAR(65);'A'
47SELECT CURDATE ( );2026-08-21
48SELECT NOW ( );2026-08-21 16:25:00
49SELECT SYSDATE ( );2026-08-21 16:25:00
50SELECT DATE ('2016-02-26 01:02:03');'2016-02-26'
51SELECT MONTH ('2016-02-26');2
52SELECT YEAR ('2016-02-26');2016
53SELECT DAYNAME('2016-02-26');'Friday'
54SELECT DAYOFMONTH('2016-02-26');26
55SELECT DAYOFWEEK('2016-02-26');6
56SELECT DAYOFYEAR('2016-02-26');57

In simple words: This table maps standard MySQL queries (numeric calculations, string slices, and calendar functions) directly to their computed outputs.

Exam Tip: Be mindful of string functions like `INSTR` and `SUBSTRING` where indexing in MySQL is 1-based, unlike standard programming languages where it is 0-based. Also, remember that concatenating any string with a `NULL` value yields a final output of `NULL`.

Download Class 11 Informatics Practices Chapter 08 Introduction to Structured Query Language (SQL) Practice Worksheets

Mastering Chapter 08 Introduction to Structured Query Language (SQL) with Printable Worksheets

Explore reliable practice questions for Chapter 08 Introduction to Structured Query Language (SQL) tailored for Class 11 Informatics Practices learners. Use these structured worksheets to evaluate exam preparedness and strengthen problem-solving skills throughout the 2026 academic session.

Verified Solutions and NCERT Alignment

Each worksheet draws directly from authorized standard textbooks to maintain academic accuracy. Evaluating your finished exercises against expert-verified solutions helps master the formal presentation standards expected in school evaluations.

Additional Study Resources for Class 11 Informatics Practices

Wrap up your chapter revision by testing your knowledge against standard objective question formats. Explore our full library of free, up-to-date printable assignments to maximize your academic results in upcoming CBSE evaluations.

FAQs

Where can I download the 2026-27 CBSE printable worksheets for Class 11 Informatics Practices Chapter 08 Introduction to Structured Query Language (SQL)?

You can download the latest chapter-wise printable worksheets for Class 11 Informatics Practices Chapter 08 Introduction to Structured Query Language (SQL) for free from StudiesToday.com. These have been made as per the latest CBSE curriculum for this academic year.

Are these Chapter 08 Introduction to Structured Query Language (SQL) Informatics Practices worksheets based on the new competency-based education (CBE) model?

Yes, Class 11 Informatics Practices worksheets for Chapter 08 Introduction to Structured Query Language (SQL) focus on activity-based learning and also competency-style questions. This helps students to apply theoretical knowledge to practical scenarios.

Do the Class 11 Informatics Practices Chapter 08 Introduction to Structured Query Language (SQL) worksheets have answers?

Yes, we have provided solved worksheets for Class 11 Informatics Practices Chapter 08 Introduction to Structured Query Language (SQL) to help students verify their answers instantly.

Can I print these Chapter 08 Introduction to Structured Query Language (SQL) Informatics Practices test sheets?

Yes, our Class 11 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 11 Chapter 08 Introduction to Structured Query Language (SQL)?

For Chapter 08 Introduction to Structured Query Language (SQL), regular practice with our worksheets will improve question-handling speed and help students understand all technical terms and diagrams.