insert into Table2(Id,Name,Score,Memo)(select Id,Name,Score,Memo from Table1 where id not in(select id from Table1 a where score<(select max(score) from Table1 b where a.name=b.name)))
题目就不写了 呵呵
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3