Functions Lab2
Functions Lab2
Create a scalar function that calculates an employee’s annual salary based on their
monthly salary.
Q2.
Create a scalar function that classifies an employee's experience level based on their
years of service:
Q3.
Create a scalar function that determines if an employee is eligible for a bonus based on:
Q4.
Create a scalar function that calculates the number of days an employee has been
employed as amanager (using their hiring date).
Q5.
Q6.
Create a scalar function that evaluates department performance by taking the average
salary of all employees in the department:
Q7.
• Department name
• Total number of employees
• Average salary