我对重复更新查询中的插入很困惑.我有MySQL表,结构如下:
如果我的table.person中存在id,或者在此表中插入新记录,我想为person更新some_text和some_other_text值.如果person_id不是PRIMARY,怎么办呢?
mysql
mysql ×1