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
Active Directory User
Creating a Dynamic Form from SQL database tables in ColdFusion
WSUS Client Updating
Error message when replying, sending, openning email in OWA
Replace missing images with default image
Should I enable or disable TCP Offload in my Hyper-V R2 environment?
Laptop running windows vista, SYSTEM process goes to 100% cpu after being accessed by any computer on the network.
Can't access variable in code behind page
In between Asterisk BLF
Repeating Rows when adding a field