Write a SQL query to delete all duplicate email entries in a table named Person
, keeping only unique emails based on its smallest Id.
1 |
+----+------------------+ |
For example, after running your query, the above Person
table should have the following rows:
1 |
+----+------------------+ |
1 |
# Write your MySQL query statement below |
近期评论