delete from Employee where Salary=(select max(Salary) from Employee)
why is error is showing. can someone help me how to solve it with logic.
delete from Employee where Salary=(select max(Salary) from Employee)
why is error is showing. can someone help me how to solve it with logic.
DELETE t1.*
FROM Employee t1
JOIN (SELECT MAX(Salary) Salary FROM Employee) t2
where t1.Salary = t2.Salary