What are differences between INSERT and UPDATE in MySQL?

后端 未结 6 1468
伪装坚强ぢ
伪装坚强ぢ 2020-12-01 15:42

It seems INSERT and UPDATE do the same things to me.

Is there any occasions where I should use INSERT instead of UPDATE<

6条回答
  •  悲哀的现实
    2020-12-01 16:08

    You cannot UPDATE a row that's not in a table.

    You cannot INSERT a row that's already in a table.

提交回复
热议问题