MySQL SELECT then immediately UPDATE and return only selection

后端 未结 0 1639
攒了一身酷
攒了一身酷 2021-02-08 18:37

\'SELECT prod_id FROM prod_keys WHERE key_value = ? AND key_used IS NULL; UPDATE prod_keys SET key_used = CURRENT_TIMESTAMP() WHERE key_value = ?;\'

I need t

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