79305380

Date: 2024-12-24 10:56:38
Score: 2
Natty:
Report link

My own workaround using inserting the result of SELECT.

INSERT INTO test (`id`, `other`, `column`, `names`)
SELECT '2' as `id`, `other`, `column`, `names`
FROM test
WHERE test.id = '1';

Delete previous records using,

ALTER TABLE `test`
DELETE WHERE `id` = '2';
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Analike