sql语句直接加减

UPDATE `tp_user` SET addtimes = addtimes +1

UPDATE `tp_user` SET addtimes = addtimes -1

UPDATE `tp_user` SET `password` = addtimes +1

    原文作者:SQL
    原文地址: https://blog.csdn.net/waiwai021/article/details/72828515
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞