------解决方案--------------------
select max(日期),A.列A,B.列B,C.列C from T, ( select top 1 列A from T where 日期 <= @date and 列A <> 0 order by 日期 desc ) A, ( select top 1 列B from T where 日期 <= @date and 列B <> 0 order by 日期 desc ) B, ( select top 1 列C from T where 日期 <= @date and 列C <> 0 order by 日期 desc ) C where 日期 <= @date order by 日期 desc
------解决方案--------------------