我想更新一个字段,但应该保留以前输入的内容。有没有办法通过一个查询来解决这个问题而无需先选择内容。
示例我有一个按名称协议的字段,其中包含条目 exmpl。
- > 这是以前的条目
比更新应该看起来像
- > 这是以前的条目
- > 这是一个较新的条目
而不是这个更好的解决方法
SELECT protocol FROM my_table WHERE id = 1
than I should add the new entry to my field and make the update
UPDATE my_table
SET protocol=new value
WHERE id=1