I want to konwn why my code doesn't work


  • 0
    A

    I do not know where I am wrong,my code was there

    delete  from Person 
    where   Email in (select Email   from Person group by Email     having count(Email) > 1) 
    and   Id not in  (select min(Id) from Person group by Email     having count(Email) > 1) 
    

Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.