How do I update all entries in MySQL table that have a foreign key matching my insert?

前端 未结 0 1771
独厮守ぢ
独厮守ぢ 2021-01-24 09:39

I have a db with a foreign key (that auto-increments) and an "active" flag, and when I insert a new entry, I want to update the active flag to 0 for all entries with a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题