Welcome! Check out the CBSE Class 11 Information Practices Functions In My Sql Worksheet as a downloadable PDF. Get complete and printable Class 11 Informatics Practices worksheets for Chapter 8 Introduction to Structured Query Language (SQL), built by expert teachers to match the 2026-27 curriculum guidelines from NCERT, CBSE, and KVS, ensuring learners master every key concept.
Chapter 8 Introduction to Structured Query Language (SQL) Worksheet Solutions for Class 11 Informatics Practices
Students of Class 11 should use this Informatics Practices practice paper to check their understanding of Chapter 8 Introduction to Structured Query Language (SQL) 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 11 Informatics Practices Chapter 8 Introduction to Structured Query Language (SQL) Worksheet with Answers
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 NAME | DATA TYPE | CONSTRAINT | FIELD NAME | DATA TYPE | CONSTRAINT |
| empcode | char(4) | PRIMARY KEY,NOT ULL | empdoj | date | |
| empname | varchar(25) | NOT NULL | empdept | varchar(20) | |
| empadd | varchar(30) | empphone | int | ||
| empgender | char(1) | empdesg | varchar(20) | ||
| empdob | date | empsal | int |
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));
| ROLLNO | NAME | STIPEND | SUBJECT | AVGMARK | GRADE |
| 1 | VIKAS | 1200 | MEDICAL | 67 | B |
| 2 | BOBY | 1400 | HUMANITIES | 78.8 | B |
| 3 | TARUN | 1000 | MEDICAL | 64.8 | C |
| 4 | VARUN | 1800 | NON-MEDICAL | 84 | A |
| 5 | ATUL | 1800 | NON-MEDICAL | 90 | A |
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. | Statement | Output |
|---|---|---|
| 1 | SELECT POW(2,4); | 16 |
| 2 | SELECT POW(-2,3); | -8 |
| 3 | SELECT ROUND(-1.23); | -1 |
| 4 | SELECT ROUND(-1.58); | -2 |
| 5 | SELECT ROUND(6.298,1); | 6.3 |
| 6 | SELECT ROUND(56.34,-1); | 60 |
| 7 | SELECT TRUNCATE(4.567,0); | 4 |
| 8 | SELECT TRUNCATE(342,-2); | 300 |
| 9 | SELECT SQRT(125); | 11.180339887498949 |
| 10 | SELECT SIGN(654); | 1 |
| 11 | SELECT LENGTH('INDIA'); | 5 |
| 12 | SELECT POW(2,-2); | 0.25 |
| 13 | SELECT POW(-2,-3); | -0.125 |
| 14 | SELECT ROUND(-1.57); | -2 |
| 15 | SELECT ROUND(1.43); | 1 |
| 16 | SELECT ROUND(6.235,0); | 6 |
| 17 | SELECT TRUNCATE(7.543,1); | 7.5 |
| 18 | SELECT TRUNCATE(-76.56,1); | -76.5 |
| 19 | SELECT SQRT(25); | 5 |
| 20 | SELECT SIGN(-43); | -1 |
| 21 | SELECT SIGN(-25); | -1 |
| 22 | SELECT LENGTH('4321'); | 4 |
| 23 | SELECT CONCAT('My', 'S', 'SQL'); | 'MySQL' |
| 24 | SELECT CONCAT('Class', NULL, 'XI'); | NULL |
| 25 | SELECT INSTR ('INFORMATICS', 'FOR'); | 3 |
| 26 | SELECT INSTR ('COMPUTERS', 'PER'); | 0 |
| 27 | SELECT INSTR ('COMPUTER', 'pu'); | 4 |
| 28 | SELECT LOWER ('INFORMATION'); | 'information' |
| 29 | SELECT UPPER ('Indian'); | 'INDIAN' |
| 30 | SELECT LCASE ('IT'); | 'it' |
| 32 | SELECT UCASE ('COMPUTER'); | 'COMPUTER' |
| 33 | SELECT LEFT ('Information', 3); | 'Inf' |
| 34 | SELECT LEFT("SCIENCE",6); | 'SCIENC' |
| 35 | SELECT RIGHT ('INFORMATICS',4); | 'TICS' |
| 36 | SELECT LTRIM (' Class '); | 'Class ' |
| 37 | SELECT RTRIM (' Class '); | ' Class' |
| 38 | SELECT TRIM (' Class '); | 'Class' |
| 39 | SELECT SUBSTRING ('INFORMATICS',3); | 'FORMATICS' |
| 40 | SELECT SUBSTRING ('INFORMATION', FROM 4); | 'ORMATION' |
| 41 | SELECT SUBSTRING ('INFORMATION', 3,4); | 'FORM' |
| 42 | SELECT SUBSTRING ('INFORMATION', -3); | 'ION' |
| 43 | SELECT SUBSTRING ('INFORMATION', -5,3); | 'ATI' |
| 44 | SELECT SUBSTRING ('INFORMATION', FROM -4 FOR 2); | 'TI' |
| 45 | SELECT ASCII('B'); | 66 |
| 46 | SELECT CHAR(65); | 'A' |
| 47 | SELECT CURDATE ( ); | 2026-08-21 |
| 48 | SELECT NOW ( ); | 2026-08-21 16:25:00 |
| 49 | SELECT SYSDATE ( ); | 2026-08-21 16:25:00 |
| 50 | SELECT DATE ('2016-02-26 01:02:03'); | '2016-02-26' |
| 51 | SELECT MONTH ('2016-02-26'); | 2 |
| 52 | SELECT YEAR ('2016-02-26'); | 2016 |
| 53 | SELECT DAYNAME('2016-02-26'); | 'Friday' |
| 54 | SELECT DAYOFMONTH('2016-02-26'); | 26 |
| 55 | SELECT DAYOFWEEK('2016-02-26'); | 6 |
| 56 | SELECT 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`.
Practice Questions & Worksheets for Class 11 Informatics Practices Chapter 8 Introduction to Structured Query Language (SQL)
Mastering Chapter 8 Introduction to Structured Query Language (SQL) with Printable Worksheets
Enhance your test readiness by practicing the targeted questions provided for Chapter 8 Introduction to Structured Query Language (SQL). Authored by experienced teachers in compliance with the recent 2026 CBSE guidelines for Class 11, these resources encourage active learning. We advise Class 11 students to complete these exercises regularly to reinforce core principles in Informatics Practices.
Verified Solutions & Answer Formats
Built using specifications from the active NCERT book for Class 11 Informatics Practices, these worksheets mirror authentic academic structures. Comparing your completed work with our expert-verified solutions ensures you learn standard formatting for CBSE exams. Supplement your study routine with the provided MCQ questions for Informatics Practices to touch upon every essential learning objective.
Maximizing Academic Performance in Class 11
Using this Class 11 Informatics Practices study material consistently prepares you for standard testing trends. For any tricky concepts encountered in Chapter 8 Introduction to Structured Query Language (SQL), our detailed NCERT solutions for Class 11 Informatics Practices offer reliable guidance. Every revision sheet and assignment on our platform is completely free and updated to help Class 11 learners excel academically.
FAQs
You can download the latest chapter-wise printable worksheets for Class 11 Informatics Practices Chapter 8 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.
Yes, Class 11 Informatics Practices worksheets for Chapter 8 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.
Yes, we have provided solved worksheets for Class 11 Informatics Practices Chapter 8 Introduction to Structured Query Language (SQL) to help students verify their answers instantly.
Yes, our Class 11 Informatics Practices test sheets are mobile-friendly PDFs and can be printed by teachers for classroom.
For Chapter 8 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.