create or replace view vw_contract_contractlist asselect ax.contractno,
(select tb2.inoutdate from (select tb1.inoutdate from iv_record tb1
where tb1.iv_inouttypeid=1 and tb1.contractno=ax.contractno) tb2 where rownum<2) as inouttime--入库时间
from xs_contract ax
/
zx.contractno无法被识别,请问不别外写函数,这个怎么解决;