目前正在将手上的SQL查询改写成Linq 遇到巢状查询的问题一直转不出来 还望板上的大大指点一下迷津 [问题描述] 资料表中有TimeStamp, Value两个字段 需要将查询到的资料依照TimeStamp做累积 [SQL语法] Select TimeStamp, ( Select SUM(Value) From [Data] as E Where E.TimeStamp >= D.TimeStamp ) as AccValue From Data as D Order by D.TimeStamp