0% found this document useful (0 votes)
27 views5 pages

Dbms Lab Assignment 5

The document outlines a DBMS lab assignment consisting of five tasks. These tasks include writing stored procedures for adding and updating employee records, creating a function to retrieve employee salaries, and developing two views to display employee details and department employee counts. The assignment focuses on practical applications of database management concepts.

Uploaded by

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

Dbms Lab Assignment 5

The document outlines a DBMS lab assignment consisting of five tasks. These tasks include writing stored procedures for adding and updating employee records, creating a function to retrieve employee salaries, and developing two views to display employee details and department employee counts. The assignment focuses on practical applications of database management concepts.

Uploaded by

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

DBMS LAB ASSIGNMENT 5:

23C4130
#1 Write a stored procedure AddEmployee that inserts a new employee record.

#2 Write a stored procedure UpdateSalary that updates the salary of an employee


based on their SSNs.

#3 Write a function GetSalary that returns the salary of an employee based on


SSNs.

#4 Create a view EmployeeDetails that displays employee name, salary, and


department.

#5 Create a view DepartmentEmployeeCount that shows the department name


along with the number of employees.

You might also like