标签:insert mysq into select 操作 not rom tag 重复
一些重要操作记录。
避免重复插入
INSERT INTO lhlh_emotion (word, freq, tag)
SELECT ‘{emotion}‘, 100, ‘a‘
from DUAL
where not exists(select word from lhlh_emotion where word=‘{emotion}‘);
标签:insert mysq into select 操作 not rom tag 重复
原文地址:https://www.cnblogs.com/bingwork/p/9183268.html