I have this MySQL table:
+------+------+
| id | name |
+------+------+
| 1 | John |
| 1 | John |
| 2 | Jill |
| 2 | Jill |
| 3 | Jack |
| 3 | Jack |
+------+------+
Can anyone please tell me how to delete the duplicate records and keep one record from this table in MySQL in one single query (i.e without creating another table)?