update usernum set yn='是' where 
test=(select examination ,test,yn from usernum  
where yn ='否'
and test 
in 
(select bkh from information group by bkh))报错当没有用 EXISTS 引入子查询时,在选择列表中只能指定一个表达式。

解决方案 »

  1.   

    update usernum set yn='是' where  
    test in (select examination ,test,yn from usernum   
    where yn ='否'and  test  in  (select bkh from information group by bkh))
      

  2.   

    update usernum set yn='是' where  
    test=(select test from usernum where yn ='否' and  
    test  in  (select bkh from information group by bkh))
      

  3.   

    update usernum set yn='是' where   
    test in (select test from usernum where yn ='否' and   
    test in (select bkh from information group by bkh))
      

  4.   

    update usernum set yn='是' where  
    test=(select test from usernum   
    where yn ='否'
    and  test  
    in  
    (select bkh from information group by bkh))