What's wrong with my sql? Internal Error

  • 0

    select distinct Email from Person where Id not in (select * from(select min(Id) from Person group by Email)as a);

  • 1

    When I see Internal Error, I guess maybe the server or the internet has some problem, or there are some problems in the code the server can't tell. Just keep debugging.

    After deleting the semicolon, your code get accepted.

  • 0

    Thank you! I tried again just now,and it works.

  • 0

    Actually I check your code and it is works fine in MYSQL.
    I am asking to recheck. I hope this time it will successfully excuted.

Log in to reply

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