delete from 会员信息 where 会员编号 in (select 会员编号,count(*) from 会员信息 group by 会员编号 having count(*)>1)
--------------------------------------
中 会员编号 in() 的子查询中不能有两个字段,这样做可以
--------------------------------------
delete from 会员信息 where 会员编号 in (select 会员编号 from 会员信息 group by 会员编号 having count(*)>1)
------------------------------------------------------
去掉 ",count(*)"