why this solution does not work


  • 0
    J

    delete from Person
    where Id in

    (select Id from
    (select
    max(Id) Id,
    Email,
    count(1) cnt
    from
    Person P
    group by Email
    having cnt > 1
    ) sub
    )


Log in to reply
 

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