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
Windows 2008 - HP LaserJet 2600n drivers aren't working
XP runs slow error 0XC000005e,The Security System detected an attempted downgrade attack for server
E72 - Opear Mobile 10 crashes after loading more than one page
I am new to webservices, please help.
open and read a *.xlsx file
Is it possible to mirror two physical disks?
jQuery Dialog Ajax PHP problem
Question about Exchange 2010 mailbox move.
office 2003 keeps self installing over 2007
Screen lock/unlock