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
I have a 2GB .ost file that I would like to reduce in size
To to retrieve Conference call recordings
Server 2008 R2 DC File Permissions
Calendar Control in Excel 2003 VBA
Installing MAPI CDO on Exchange 2007
Probably an easy question, but how can I set the domain name for use with iis on my lan?
Inserting image in Word 2007 table
error SQL3126N when loading data from local file to remote DB2 instance
using window.open want to get rid of url bar in new window within IE7
user rights and administrative rights problems on domain