遇到的sql作用域问题
select s2.yrk from
(select sum(case when sci.articlestatus=0 and sci.inhousedate in(select scic.inhousedate from sh_consignment_info scic where trunc(inhousedate
遇到的sql作用域问题
select s2.yrk from
(select sum(case when sci.articlestatus=0 and sci.inhousedate in(select scic.inhousedate from sh_consignment_info scic where trunc(inhousedate