尝试:
insert into aTable select max(a)^2, 'name' from aTable;
或者
insert into aTable select max(a)^2, 'name' from aTable group by B;
如果需要加入,可以执行以下操作:
insert into aTable select max(a)^2, 'name' from aTable, bTable;
我的“服务器版本”是“ 5.0.51b-community-nt MySQL社区版(GPL)”



