Now let us remove the employee with the maximal salary; that will be Jane Roe (Figure 17). We will execute the following SQL command:

DELETE FROM employees 

WHERE employee_salary = (SELECT max(employee_salary) FROM employees)

Figure 17 DELETE FROM command

We will run the previous SELECT again to see what we get now:

Figure 18 DELETE outcome

As expected, Jane Roe was deleted.