update ta t
set sal = '100'
where exists(select 1 from tb where name= t.name and page='1000')
------解决方法--------------------------------------------------------
------解决方法-------------------------------------------------------- 楼上的就正确,你要是不放心就用我这个,绝对唯一! update ta t set t.sal = '100' where t.rowid in (select ta.rowid from ta, tb where ta.name = tb.name and tb.page = '1000');