“select for update mysql” 看了幾個人的寫法整合起來就是這樣 ... update tb1 set stock = stock -2 where id =1 and stock >=2; commit; 故意用2…
確定! 回上一頁