Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Xの最大値を取得して1を追加することにより、テーブル内のxなどの値を更新したいと思います。
以下の更新は私にとってはうまくいきません。
update table set x=select max(x)+1 where y='some value'
誰でもその方法を提案できますか?