参考如下语法update student A set (A.name,a.dq) = (select B.bname,b.bdq from newstudent B where B.Bid = A.id and A.dq = 10 ) where exists (select 1 from newstudent B where B.Bid = A.id and A.dq = 10 );