会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
艺言弈行
曲则全,枉则直。夫唯不争,故天下莫能与之争
博客园
首页
新随笔
联系
管理
09 2023 档案
mysql insert into on duplicate key update
摘要:新增如果遇到主键冲突,则更新 新建一张表,除了主键`id`,还有唯一健`mobile` ```sql create table example_user ( id int(4) not null auto_increment, name varchar(20) , mobile varchar(20
阅读全文
posted @
2023-09-07 10:04
艺言弈行
阅读(47)
评论(0)
推荐(0)