Mysql – Creating User-defined Function
I'm working with the following table: Employees_2 ( EmpID INT PRIMARY KEY, FirstName VARCHAR(50), LastName VARCHAR(50), Department VARCHAR(50), Salary DECIMAL(8,2), DateOfJoining DATE ); I need to create a user-defined function to determine if an employee is a 'Senior' (more than…