Is there any way to do an incremental update in an on duplicate key update insert in mysql?
例重/错误:
insert into blah (user_id, prefix, email_id, field, source)
select user_id, substring(name, 1, 3), contact_email_id, 2, source from address_book
on duplicate key update source = source + values(source);
ERROR 1052 (23000): Column source in field list is ambiguous