只用update .... where 就行了

解决方案 »

  1.   

    update table1 set clicks=clicks+1 where newsid=1233
      

  2.   

    想把字段的值在原来的值的基础上加1
    -----------------------
    还得考虑该字段是不是主键列如果不是的话,直接用update 语句
    update tb set col=col+1
      

  3.   

    在原值基础上加1,直接使用update语句就可以了。
      

  4.   

    update yourtable set col1=col1+1 where ...
      

  5.   

    lsqkeke(可可)说的对,如果是不是主键 就用
    update tablenamne set column = column + 1 where ??????