mysql 插入,更新插入,忽略插入
插入数据
insert into table(,,*) values(1,2,3)
按照索引更新(有索引的前提)
replace into table (,,*) values(1,2,3)
按照索引插入,存在则忽略本条,否则插入
insert ignore into table(,,*) valuse(1,2,3)
不同插入数据逻辑
猜你喜欢
转载自blog.csdn.net/weixin_49260016/article/details/120881475
今日推荐
周排行