Here is the current state of my table:
mysql> select * from page;
+----+----------+----------------+------+---------+
| id | title | body | page | visible |
+----+----------+----------------+------+---------+
| 1 | my title | my body | NULL | 1 |
| 2 | my title | my body edited | 1 | 0 |
+----+----------+----------------+------+---------+
2 rows in set (0.00 sec)
I want row 1 to contain the values of row 2. Basically, I want to do:
UPDATE page SET page.* = (SELECT * FROM page WHERE id = 2) WHERE id = 1;
Is something like this possible?