0

是否可以在 SQl Server 2005 中获取每个不同日期的记录?

例子:

Select sum(AmountSold), Date from tableA where Distinct(Date)

这样的事情可能吗?提前致谢!!

拉穆!

4

1 回答 1

3
SELECT SUM(AmountSold), Date 
FROM tableA
GROUP BY Date
于 2012-06-28T18:32:40.683 回答