Ism Practical File
Ism Practical File
PRACTICAL FILE
ON
INFORMATION SYSTEM MANAGEMENT LAB
BATCH:2019-22
Submitted by: Shivani Negi Project Guide: Ms.Saba Hussain
Enrollment No: 05120601719 Designation: Assistant Professor
1
TO WHOM SO EVER IT MAY CONCERN
This is to certify that the project work “Information System
Management Lab File” made by Shivani Negi, BBA(GEN),4th
semester, Enrollment no: 05120601719 is an authentic work
carried out by her under guidance and supervision of Ms. Saba
Hussain.
Project Supervisor
Ms. Saba Hussain
(Assistant Professor)
2
DECLARATION
I hereby declare that the following documented project file on
“Information System Management Lab File” is an original and
authentic work done by me for the partial fulfillment of
Bachelor of Business Administration (Gen) degree program.
Signature:
Shivani Negi
05120601719
BBA (general)
Sec-A , 4th semester
1st shift
ACKNOWLEDGEMENT
3
It is in particular that I am acknowledging my sincere feeling towards
my mentors who graciously gave me their time and expertise.
Shivani Negi
05120601719
BBA (General)
Sec-A , 4TH Semester
1ST Shift
INDEX
4
S TOPIC PAGE TEACHERS
No. NO. SIGNATURE
INTRODUCTION TO MY SQL
PRACTICAL-1
1. Create table students with columns ,roll 7
no. ,name, subject and marks.
2. Describe the table student. 7
3. Insert 10 records in student table. 8
4. Display the details of all students. 8
5. Display the details of students whose marks 9
are greater than 70.
6. Display the details of students whose 9
subject is English.
7. Display the details of students whose name 9
starts with ‘R’.
8. Display the details of all the students whose 9-10
marks are between 70 to 90.
9. Display the details of students whose marks 10
are either 82 or 92.
10. Display the details of students whose 10
subjects are either ‘English’ or ‘Maths’.
11. Update the marks of the student to 90 10-11
whose roll no. is 7.
12. Delete the column whose name is ‘Marks’. 11
13. Add a column whose name is ‘mobile no.’ 11-12
and datatype is ‘int’.
14. Modify the datatype of column whose name 12
is subject char(20).
15. Modify the table name to student details. 12-13
PRACTICAL-2
1. Write an SQL query to fetch “FIRST_NAME” 18
5
from Worker table using the alias name as
<WORKER _NAME>.
2. Write an SQL query to fetch unique values of 18
DEPARTMENT from Worker table.
3. Write an SQL query to print the FIRST_NAME 18
from Worker table after replacing ‘a’ with ‘A’.
4. Write an SQL query to print the FIRST_NAME 19
and LAST_NAME from Worker table into a
single column COMPLETE_NAME. A space
char should separate them.
5. Write an SQL query to print all Worker 19
details from the Worker table order by
FIRST_NAME Ascending.
6. Write an SQL query to print details for 19
Workers with the first name as “Vipul” and
“Satish” from Worker table.
7. Write an SQL query to print details of the 20
Workers who have joined in Feb’2014.
8. Write an SQL query to fetch the count of 20
employees working in the department
‘Admin’.
9. Write an SQL query to fetch the no. of 20
workers for each department in the
descending order.
10. Write an SQL query to clone a new table from 21
another table.
PRACTICAL-1
6
1.Create table student with columns Roll no., name, subject and
marks.
7
4.Display the details of all students.
5.Display the details of students whose marks are greater than 70.
8
6.Display the details of student whose subject is ‘English’.
9
9.Display the details of students whose marks are either 82 or 92.
10
12.Delete the column whose name is Marks.
11
14.Modify the datatype of column whose name is sunject char(20).
12
13
PRACTICAL-2
14
15
16
17
Q1. Write an SQL query to fetch “FIRST_NAME” from Worker table
using the alias name as <WORKER_NAME>.
Q3. Write an SQL query to print the FIRST_NAME from Worker table
after replacing ‘a’ with ‘A’.
18
Q4. Write an SQL query to print the FIRST_NAME and LAST_NAME
from Worker table into a single column COMPLETE_NAME. A space
char should separate them.
Q5. Write an SQL query to print all Worker details from the Worker
table order by FIRST_NAME Ascending.
Q6. Write an SQL query to print details for Workers with the first
name as “Vipul” and “Satish” from Worker table.
19
Q7. Write an SQL query to print details of the Workers who have
joined in Feb’2014.
Q9. Write an SQL query to fetch the no. of workers for each
department in the descending order.
20
Q10. Write an SQL query to clone a new table from another table.
21