Potreboval by som urobť taký update kde sa hodnota prepíše inou hodnotu z tej iste tabuľky.
Asi takto:
Kód:
update table set aaa=(select aaa from table where id=2) where id=1
Ale ako som sa dočítal v manuály: "Another restriction is that currently you cannot modify a table and select from the same table in a subquery."
Ale ako to teda urobiť???