UPDATE swap_test s1, swap_test s2 SET s1.x=s1.y, s1.y=s2.x WHERE s1.id=s2.id; -- tipliga UPDATE _tipliga_tipy_hracu t1, _tipliga_tipy_hracu t2 SET t1.g1=t1.g2, t1.g2=t2.g1 WHERE t1.id=t2.id AND (t1.id_zapasu = 1462)