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.
我想知道是否有一种方法可以直接增加列的值而不读取当前值。就像是:
update table `user` set cnt = cnt+1
上面的语句给了我一个语法错误,但我确信它必须有一些东西。
谢谢
只是UPDATE,不是UPDATE TABLE。
UPDATE
UPDATE TABLE