DBMS File
DBMS File
A
DBMS LAB Report
On
“ DATA BASE MANAGEMENT SYSTEM ”
Submitted in partial fulfilment of the requirement for the
IV semester
B.C.A.
By
Abhinav Baranwal
20041047
Under the Guidance of
Mr. Sudhanshu Maurya
(Department of Computer Science and Applications)
ACKNOWLEDGEMENT
The success and outcome of this report required a lot of guidance and assistance
from many people, and I am extremely fortunate to receive it all along the
completion of work. Whatever I have done is only due to such guidance and
assistance and I would not forget to thank them.
I also take this opportunity to express a deep sense of gratitude to, Mr.
Sudhanshu Maurya, Graphic Era Hill University, and other staff of school of
computing of our college for their cordial support, valuable information, and
guidance, which helped me in completing this task through various stages.
Lastly, I thank almighty, my parents, faculty, and my friends for their constant
encouragement without which this assignment would not be possible.
Thank You
Department of Computer Science and Applications
STUDENT’S DECLARATION
I, Abhinav Baranwal, hereby declare the work, which is being presented in the
the award of the degree B.C.A in the session 2021-2022, is an authentic record of
my own work carried out under the supervision of Mr. Sudhanshu Maurya.
The matter embodied in this term-work has not been submitted by me for the
CERTIFICATE
Abhinav Baranwal
Enrolment no PV-B2071502, Roll no. 2071502 to Graphic Era Hill University, Bhimtal
Campus for performing a good work carried out by him. He has worked under my guidance
and supervision and fulfilled the requirement for the submission of report.
(…………………) (……………………)
DBMS LAB
ASSIGNMENT – 02
7. List all employee whose name start with the letter k from
employee table.
10. List all employee whose name start with ‘a’ and end
with ‘d’ from employee table.
11. List all manager and saleman with salary over 2500
from employee table.
DBMS LAB
ASSIGNMENT – 03
6. Change the basic salary Rs 3000 where basic salary less than 2500 from
employee table.
7. Change the basic salary Rs 3000 where job in clerk from employee table.
9.Change the department name to ‘sales’ from the dept table where
deptno=’d004’.
11. Change the profit percentage of product number ‘pr065’ to 25% in the
product_mast table.
12. Change the available quantity of product_no ‘pr065’ to 120 in
product_mast table.
13.Change the cost price and selling price of product number ‘PR065’ to 5000
and 6250 in product_mast table.
DBMS LAB
ASSIGNMENT – 04
1. Delete all salesman from the salesman mast whose salaries are
equal to Rs. 2000.
3. Delete all products from product mast where the Qty Available is
equal to 100.
7. Write a query to mark the above two queries such the the second
delete operation is undone.
11. Delete all managers and salesman with salary over 1500 from
employee table.
2. Add a column "Country" of data type 'Char' and size 15' to the
client mast table
DBMS LAB
ASSIGNMENT – 06
2. Select the name of the lowest paid employee from employee table
6. List the names and hiredate of the employees in deptno = D002, display
date formated as "12/03/03
EMPLOYEE
Kim (Manager)
Bruce Analyst)
10. Find out the difference between highest and lowest salaries.
1. Select those clients whose bal due is greater than value 2000 from
client mast table.
4. Calculate the maximum and minimum product prices and rename the
output as max_price and min price respectively from product mast table.
6. Display the employee number and day on which employee hired from
employee table.
7. Display the Total number of working days of each employee from
employee table.
10. Using LPAD function pad the job types with 15 characters by symbol.
11. Display the length of each employee name from employee table.
14. Display the ename those are having sound like Kim from employee table