sum of all records of a field

Joined
Nov 25, 2008
Messages
3
Programming Experience
3-5
I am working in VB.net with access database.
i have a table =
SELECT aSaleDate,aRotana FROM BDSS_SALES where aSaleDate=#10/25/2006#

The above query returns more then one records

Now i want to take of field "aRotana"
plz help me in this problem
 
Almost no point in selecting the ale date since you already know it but:

SELECT aSaleDate, SUM(aRotana) FROM BDSS_SALES where aSaleDate=#10/25/2006# GROUP BY aSaleDate
 
Back
Top