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
DOS Batch Turnkey system for Win95
MS Access Data Import
How to change Hotsname and ipaddress of Oracle Databse server
How do I count the number of characters in the attached php function and send alert message?
How to disable form fields in Coldfusion flash form by clicking a checkbox?
Nagios - email notifications
Controlling main application threads from within an instance of a class
MS SQL Server only using one core on a 4 core box
Windows Update site fails to load
Riverbed with Cisco GRE Tunnel