create table from_table
(
id int primary key,
name varchar(32) not null
);
delete form_head Where id Not In (Select Max([ID]) From form_head Group By fname);
------解决方案--------------------------------------------------------
去掉Group By fname就可以了
------解决方案--------------------------------------------------------
不是max哟,max是保留最大的哟。MIN
------解决方案--------------------------------------------------------
建个模拟数据试试