日期:2014-05-17 浏览次数:20730 次
select avg(d.xssl)
from CC_JXC_GYS_DAY d
inner join CC_JXC_GYS_DAY_HIS his
on d.gys = his.gys
where his.rq in (select distinct d.rq
from CC_JXC_GYS_DAY d
group by d.rq
having count(*) >= 1)
and his.rq between his.rq and d.rq