select temp.itemno
into v_sku
from t_goods_re_temp temp
where temp.itemtype=v_itemtype and temp.itemspec=v_itemspec and temp.bandname=v.bandname;
符合这些条件检索出的数据选择一条,应该怎么写啊
select temp.itemno
into v_sku
from t_goods_re_temp temp
where temp.itemtype=v_itemtype and temp.itemspec=v_itemspec and temp.bandname=v.bandname and rownum<2;