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.
我遇到了投票系统的问题,特别是在投票功能中。
如何在数据库中制作类似 votes++ 的内容,而无需在单个查询中选择最后一票?
UPDATE myTable SET voteCol = voteCol + 1 WHERE id = idOfInterest;