Create a procedure that deletes employee records from the Employee table. Get the department name as an input parameter. Delete the employee records who belongs to that department.
Display the count of employee records that were deleted. If the respective department was not found, then raise "DeptNotFoundException" and print the message 'No Records found.'
Assume the Employee table has been already created and few records has been inserted.
EMPLOYEE: Column name Data type Constraints
EMP_ID NUMBER(5) PK
EMP_NAME VARCHAR2(25) NOT NULL
SALARY NUMBER(10,2) DEPT VARCHAR2(25)
Answers
Answered by
1
Answer:
what!!!!!!!!!!!!
Explanation:
Similar questions