prøv:
insert into aTable select max(a)^2, 'name' from aTable;
eller
insert into aTable select max(a)^2, 'name' from aTable group by B;
Hvis du har brug for en deltagelse, kan du gøre dette:
insert into aTable select max(a)^2, 'name' from aTable, bTable;
Min "Serverversion" er "5.0.51b-community-nt MySQL Community Edition (GPL)"