Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这可能吗?
我想将字符串“-large”附加到products表中的每一行,该列是clean_name
products
clean_name
您可以在列上使用模运算符( %)id
%
id
update products set clean_name = concat(clean_name, '-large') where id % 2 = 0