-没看明白,估计你要的大概如此:update 表
set 备注=1
where 关键字 in 
(select 关键字 from 表)