Correct INSERT .. ON DUPLICATE KEY syntax?

后端 未结 2 500
故里飘歌
故里飘歌 2021-01-22 17:19

How can I check if a specific primary key (a string variable) already exists on the table and if not insert a new record otherwise just update the existing one with new values u

2条回答
提交回复
热议问题