Read and download free pdf of CBSE Class 11 Information Practices Data Manipulation Commands Worksheet. Students and teachers of Class 11 Informatics Practices can get free printable Worksheets for Class 11 Informatics Practices Chapter 8 Introduction to Structured Query Language (SQL) in PDF format prepared as per the latest syllabus and examination pattern in your schools. Class 11 students should practice questions and answers given here for Informatics Practices in Class 11 which will help them to improve your knowledge of all important chapters and its topics. Students should also download free pdf of Class 11 Informatics Practices Worksheets prepared by teachers as per the latest Informatics Practices books and syllabus issued this academic year and solve important problems with solutions on daily basis to get more score in school exams and tests
Worksheet for Class 11 Informatics Practices Chapter 8 Introduction to Structured Query Language (SQL)
Class 11 Informatics Practices students should refer to the following printable worksheet in Pdf for Chapter 8 Introduction to Structured Query Language (SQL) in Class 11. This test paper with questions and answers for Class 11 will be very useful for exams and help you to score good marks
Class 11 Informatics Practices Worksheet for Chapter 8 Introduction to Structured Query Language (SQL)
Table Creation And Data Manipulation Commands
Q1. Consider the following table named “GYM” with details about Fitness products being sold in the store :
Prcode* | Prname** | Unitprice*** | manufacturer |
P101 | Cross trainer | 25000 | Avon fitness |
P102 | Treadmill | 32000 | AG fitline |
P103 | Massage chair | 20000 | Fit Express |
P104 | Vibration trainer | 22000 | Avon fitness |
P105 | bike | 13000 | Fit express |
Write SQL statements to do the following :
a) Display the names of all the products in the store.
b) Display the names and unit price of all the products in the store.
c) Display the names of all the products with unit price less than Rs 200000.00
d) Display details of all the products with unit price in the range 20000 to 30000
e) Display name of all products by the manufacturer “Fit Express”.
f) Display all rows sorted in descending order of unit price.
g) Add a new row for product with the details : “P106”, “Vibro Exercise”, 23000, “Avon Fitness”.
h) Change the unit price data of all the rows by applying 10% discount reduction on all the products.
i) Display details of all products with manufacturer name starting with “A”.
* Prcode : Stores codes of Products. ** Prname : Stores names of Products *** Unit price is in Rs.
Table Creation And Data Manipulation Commands
Q1. Consider the following table “Employee”.
Ecode | First name | Last name | Department | Salary |
101 | Amit | Sharma | Sales | 3000.500 |
102 | Shiv | Arora | Personnel | 3560 |
103 | Ks | Lakshmi | accounts | 1500 |
104 | Shivika | Rajlani | accounts | 2980.250 |
105 | Satvik | Thakral | sales | 5322 |
• Ecode should be declared as Primary key, Unique.
• Salary must be greater than 1000.
• First name and Last name must not remain blank.
• Make data type for “Salary” with 8 digits maximum with 3 digits decimals.
Write SQL statements to do the following :
a) Combine and display the first names and last names of all employees with Example : “Amit Sharma”
b) Display the department names , without duplicates.
c) Display all the details of employees with last names as “Lakshmi”.
d) Display all the details of employees whose last name is “Rajlani” or “Sharma”.
e) Display the codes and first names of all employees of ‘Accounts’ department.
f) Display department names of departments with salary above 18000.
g) Display First name and first letter of Lastname (Exp :Amit S.)
h) Combine and display Second name and First name where department is accounts.
i) Increase 50 OR of all the employees where salary is less than 2000.
j) Delete the records where salary is more than 5000.
k) Display all the first name, salary (round to 0 decimal place).
l) Rename the field Department to Dept.
m)Delete the column Last name.
n) Delete all the records
o) Delete the table.
Q.1 If you have to create a table CUSTOMER. Identify the required data types for each attributes : Cust_ID Customer Identification Number, Cust_Name Customer Name,Cust_Add, Customer Address, Bill_No Customer bill Number
Q.2 Create a table name as “Deptm” with the following structure :
Field Name | Field Type | Constraint |
D NAME | Varchar(14) | NOT NULL |
AGE | Integer | |
DEPT NAME | Varchar(10) | NOT NULL PRIMARY KEY |
DOJ | Varchar(13) | |
SALARY | Integer(5) |
(b) Write SQL Commands for the questions form (a) to (h) on the basis of table Teacher.
Table :Teacher
Name | Age | Department | Date of join | Salary |
Jugal | 24 | Computer | 2007-02-10 | 12000 |
Shanti | 31 | History | 2008-03-24 | 20000 |
Sandeep | 32 | Maths | 2009-02-25 | 14000 |
Sangeeta | 45 | History | 2007-04-15 | 20000 |
Rahat | 55 | Computer | 2007-05-17 | 21000 |
a) To show all information about the teacher of History department in descending order of their name .
b) To list the male teacher who are in Maths department.
c) To display Name, Salary, where age less than 25 and age equal to or more than 45.
d) Update the Salary by increasing Rs. 1000 for teachers with age more than 55.
e) To Insert a new record in table Teacher with the following data :
‘Raja’, 23, ‘Hindi’, ‘2005-08-19’,12675.
f) Write a SQL command to add following column in above table.
Column Name Data Type Size Constraint Description
Address Varchar 40 Address of the Person
g) Display the name of those teacher whose name started with alphabet ‘S’;
h) To Delete those records where Department is History.
i) Write SQL Command to drop the table Teacher.
2. Find the Output of following :
(i) SELECT ROUND (1.298,1);
(ii) SELECT POW(2,4);
(iii) SELECT LOWER(‘MYSQL QUERY LANGUAGE’);
(iv) SELECT SUBSTR(‘MYSQL LANGUAGE’, 7,8);
(v) SELECT LENGTH(‘INFORMATION’);
Table Creation And Data Manipulation Commands
Q1. Create table One with the following structure :
Name of column | Data type | Constraints |
Name | Varchar(20) | Not null |
Rollno | Number(2) | Not null |
grno | Number(5) | |
Age | Number(2) | Should be more than 13 |
Marks | Number(2) | Should be more than 0 |
addr | Char(20) | Default “ISM” |
Q2. Write SQL command to display the table structure.
Q3. Add the following data in the above table(ONE) :
Name | Rollno | Grno | Age | Marks | add |
Anil | 2 | 1232 | 14 | 89 | Ism |
Beena | 1 | 4353 | 15 | 90 | Ism |
sumit | 3 | 6534 | 14 | 40 | Isd |
vineet | 5 | 2353 | 14 | 67 | ism |
Q4. Add 5 marks for all the students.
Q5. Add 2 marks where rollno greater than 3.
Q6. Change the field name name to Sname.
Q7. Modify the Add char(20) to Char (30).
Q.8. Change the width of Grno to number(4).
Q9. Modify the grno position to first position in the table.
Q10. Update the field grno as Primary Key.
Q11.Delete the record(s) where mark is less than 50.
Q12. Remove the entire contents of the table.
Q13. Drop the table “ONE”.
Table Creation And Data Manipulation Commands
Q1. Consider the following table named “GYM” with details about Fitness products being sold in the store :
Prcode* | Prname** | Unitprice*** | manufacturer |
P101 | Cross trainer | 25000 | Avon fitness |
P102 | Treadmill | 32000 | AG fitline |
P103 | Massage chair | 20000 | Fit express |
P104 | Vibration trainer | 20000 | Avon fitness |
P105 | bike | 13000 | Fit express |
Write SQL statements to do the following :
a) Display the names of all the products in the store.
b) Display the names and unit price of all the products in the store.
c) Display the names of all the products with unit price less than Rs 200000.00
d) Display details of all the products with unit price in the range 20000 to 30000
e) Display name of all products by the manufacturer “Fit Express”.
f) Display all rows sorted in descending order of unit price.
g) Add a new row for product with the details : “P106”, “Vibro Exercise”, 23000, “Avon Fitness”.
h) Change the unit price data of all the rows by applying 10% discount reduction on all the products.
i) Display details of all products with manufacturer name starting with “A”.
* Prcode : Stores codes of Products. ** Prname : Stores names of Products *** Unit price is in Rs.
Worksheet for CBSE Informatics Practices Class 11 Chapter 8 Introduction to Structured Query Language (SQL)
We hope students liked the above worksheet for Chapter 8 Introduction to Structured Query Language (SQL) designed as per the latest syllabus for Class 11 Informatics Practices released by CBSE. Students of Class 11 should download in Pdf format and practice the questions and solutions given in the above worksheet for Class 11 Informatics Practices on a daily basis. All the latest worksheets with answers have been developed for Informatics Practices by referring to the most important and regularly asked topics that the students should learn and practice to get better scores in their class tests and examinations. Expert teachers of studiestoday have referred to the NCERT book for Class 11 Informatics Practices to develop the Informatics Practices Class 11 worksheet. After solving the questions given in the worksheet which have been developed as per the latest course books also refer to the NCERT solutions for Class 11 Informatics Practices designed by our teachers. We have also provided a lot of MCQ questions for Class 11 Informatics Practices in the worksheet so that you can solve questions relating to all topics given in each chapter.
You can download the CBSE Printable worksheets for Class 11 Informatics Practices Chapter 8 Introduction to Structured Query Language (SQL) for latest session from StudiesToday.com
There is no charge for the Printable worksheets for Class 11 CBSE Informatics Practices Chapter 8 Introduction to Structured Query Language (SQL) you can download everything free
Yes, studiestoday.com provides all latest NCERT Chapter 8 Introduction to Structured Query Language (SQL) Class 11 Informatics Practices test sheets with answers based on the latest books for the current academic session
CBSE Class 11 Informatics Practices Chapter 8 Introduction to Structured Query Language (SQL) worksheets cover all topics as per the latest syllabus for current academic year.
Regular practice with Class 11 Informatics Practices worksheets can help you understand all concepts better, you can identify weak areas, and improve your speed and accuracy.