My solution is :
SELECT MIN(Id) as Id,Email FROM Person GROUP BY Email;
Why does't it work?
sorry for everyone.I have't notice that the person table shoud be changed after running the query.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.