update table1 set value=95 where id='0001' and name='chemistry'

解决方案 »

  1.   

    update table1 set value=95 where id='0001' and name='chemistry'
      

  2.   

    update table1 set value=95 where id='0001' and name='chemistry'
      

  3.   

    --现在我想将id=0001的chemistry更新为95。
     --我的作法是  update table1 set value=95 where (id=2 and name='chemistry')
    --可是没用!id=2  ?
      

  4.   

    update table1 set value=95 where id='0001' and name='chemistry'
      

  5.   

    是把id=0001并且name='chemistry'的name='95'吧update table1 set name=95 where id='0001' and name='chemistry'