我有一个名为 的表users
,其中有first name
和last name
,我想保留一条相同的记录first name
和last name
,其他记录将被删除。
例如:
first name: Peter last name: White
first name: Mary last name: White
first name: John last name: Brown
first name: Peter last name: White
执行SQL后:
first name: Peter last name: White
first name: Mary last name: White
first name: John last name: Brown