请教mysql的update子查询问题
update   test   set   a=11   where   b   in   (select   b   from   test   t,test1   t1   where   t.b=t1.b   and   ……)   
 这样会报错,查阅了一下mysql文档说不支持这种写法,请问这种写法有替代方法吗?目前test表有12万的数据,请大家帮忙谢谢!
------解决方案--------------------些存储过程  
 update后面的东东只能是确定的东西 。   
 update test set a=11 where b in (1,3,3,5); 
 这样就可以。