如题:在一个存储过程里:insert into 临时表(字段1,字段2,字段3)
  (
         select 字段1,字段2,字段3
         from 表1,表2,表3        
         where 条件1,条件2
   )
我想把插入到临时表里的记录锁住,防止记录被重复使用。
想到了用悲观锁,但是 for update 不能用在此 select 语句后,求各位指教。