0% found this document useful (0 votes)
30 views7 pages

Xi Term-2 Practical File I.P

Uploaded by

prr150681
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views7 pages

Xi Term-2 Practical File I.P

Uploaded by

prr150681
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

XI IP PRACTICALS LIST @ BHAVNA SHARMA

General Instructions to prepare practical record for CLASS XI(TERM-II)


1. It is recommended to prepare printed version of practical record.

2. Practical file must be properly indexed with page numbers.

3. After taking printout of the soft copy, enclose them in a transparent folder and submit it up to 31 December 2024.

4. Title page of your practical file will be same. (enclosed here with)

LIST OF PROGRAMS

1. Create a database with the name “employee” and open this database.
2. Create table as per the description given below:

3. Write SQL query to display structure of the above table.


4. Insert following data in the table “emp”.

5. Write SQL query to display details of whole table.


6. Write SQL query to display details of those employees whose salary is greater than
35000.
7. Write SQL query to display name and department of those employees whose salary is not
null.
8. Write SQL query to display those employees names whose dept is either “IT” or “Sales”.
9. Write SQL query to display those employees names whose dept is neither “IT” nor
“sales”.
10. Write SQL query to display those employees’ names whose dept is “sales” and salary is
less than 45000.
11. Write SQL query to display those employees names who belongs to the following
departments (IT, SALES, ACCOUNT).
12. Write SQL query to display those employees id and name who does not belong to the
following departments. (IT,SALES,ERP)
13. Write SQL query to display all unique departments.
14. Write SQL query to display details of those employees whose names starts with “S”.
15. Write SQL query to display details of those employees whose names ends with “it”.
16. Write SQL query to display id and names of those employees whose name consist “hi”.
17. Write SQL query to display details of all employees in ascending order of their salary.
18. Write SQL query to display details of all employees in descending order of their
departments.
19. Write SQL query to increase the salary of all employees by 5000.
20. Write SQL query to decrease salary by 5% of those employees whose salary is greater
than 45000.
21. Write SQL query to change the data type of emp_name as “char” .
22. Write SQL query to change the size of emp_dept column to 30.
23. Write SQL query to rename the column “salary” to “emp_salary”.
24. Write SQL query to remove primary key.
25. Write SQL query to set “emp_id” as primary key .
26. Write SQL query to delete column “emp_salary”.
27. Write SQL query to add new column “salary”.
28. Write SQL query to delete details of those employees whose department is “sales”.
29. Write SQL query to delete data of entire table.
30. Write SQL query to delete the table “emp”.

You might also like