mysql insert with value from select

后端 未结 0 1534
独厮守ぢ
独厮守ぢ 2021-01-29 23:13

I have this query like this: INSERT INTO oc_stock_hpp (product_id, buy_price) VALUES ( \'3337\', (SELECT buy_price FROM oc_stock_hpp WHERE product_id =\'3337\' ORDER BY id DESC

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