What's wrong with my sql? Internal Error


  • 0
    C

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


  • 1
    M

    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
    C

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


  • 0
    R

    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.