(select c.item,c.Uf_quotationMoQ,c.Uf_quotationMultiple   --括号中d表取得要更新的字段
 from itemVendPrice c,
 (select b.item,max(b.effect_date) as effect_date from   --括号中a表取得最大日期的记录
 (select f.item,f.Uf_quotationMoQ,f.Uf_quotationMultiple --括号中b表取得rank为1的所在itemVendPrice记录
       ,f.effect_date
  from itemVendPrice f,itemVend g
  where f.item=g.item
       and f.Vend_Num=g.Vend_Num
       and g.rank=1) b
 group by b.item) a
 where c.item=a.item and c.effect_date=a.effect_date) d在我写的程序段中,上面这段已经OK,即D表已是更新需要的表,只要和item联接更新就可以了,但结果就是不更新
要什么样的测试环境啊?