Is there a query with which i can exchange the values of two rows with single query?
UPDATE my_table SET a=@tmp:=a, a=b, b=@tmp;