select 编号,内容,'1' as 标识

解决方案 »

  1.   

    select * from 表 where ...条件
    update 表 set 标识=1 where ...条件
      

  2.   

    update 表 set 标识=1 where 表达式select * from 表 where 标识<>1 and 表达式
      

  3.   

    你必须update
    select 编号,内容,标识 from yourtable where whereclause.....
    update yourtable set 标识 = 1 where whereclause.....
      

  4.   

    select 编号,内容,标识 from table1
    where your condition 
    update table1 set 标识 =1
      

  5.   

    哦。。
    看来必需要写两个SQL语句了。
    谢谢、