UPDATE tbl_swap SET x=y, y=x;
UPDATE tbl_swap s1, tbl_swap s2 SET s1.x=s1.y, s1.y=s2.x WHERE s1.id=s2.id;
No comments :
Post a Comment