I'm working on a chart and would like to select the sum of orders on any certain day, month or by a year.
select sum(orders), date_entered from orders where date_entered = getDate() - 365
group...
http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/Q_22890556.html
Zones:
MS SQL ServerDate Answered: 10/16/2007 Rating: 7.6 Views: 0