再次请教关于SQL问题???(100分)
以前我有提到一问题的SQL语句为:
select a.[date],
(select sum(b.[count]) from 表 b where b.[date]<=a.[date]) as total
from 表 a
现在的问题是:要是以上语句的“表”是一个很复杂的SQL语句,请问我该怎样写该SQL?
以前的贴子为:
http://expert.csdn.net/Expert/topic/2269/2269074.xml?temp=.635708
(请教SQL问题:关于“叠加分组”?)