I have a code that deletes a specific employee if he/she worked for more than 5 years. I want to apply this statement to all employees at one time.
DECLARE cur