Microsoft
Software
Hardware
Network
Question : how to count the sum?
I have a
select count(*) as orderQTY, order_date from product
group by order_date
--the output is
orderQTY order_date
234 6/2/2010
200 5/20/2010
90 3/1/2010
28 1/29/2010
I need sum this output orderQTY's total in the select query, how can I do this?
Answer : how to count the sum?
See this as well:
SELECT [OrderQty],Count(*) as OrderQty_Total
,[order_date]
FROM [Practice].[dbo].[product]
Group by [order_date],[OrderQty]
Random Solutions
Need a driver for sm bus controller on Dell d620
Licensing Small Business Server 2008 Standard plus Microsoft Server 2008 Standard
How to stablish a proper setup in MS Outlook 2003 encrypting mails
OnPopup + sql query
HP Laserjet 2420 not printing the first time when connected via usb from a laptop
HOW TO: remove the Anonymous User from the Everyone Group....
Multi Homed Windows 2008 Server
OCS 2007 R2 and Cisco call manager
How can I update Microsoft SQL Server Native Client. Give error each time I try.
Have to restart service to get network printer to work