hey guys..im back with a question regarding using count() in a sql select statement.
I am selecting a week of sales information and i would like to count the total sales per day of the week. Using sum() in this manner but for the life of me i cant get count working.
* in its most basic form the sql statment is below
select count(saleshead.dsalestamp) for dow(saleshead.dsalestamp = 1) ;
from saleshead
what do i have to do differently to make this work?
thx in advance
I am selecting a week of sales information and i would like to count the total sales per day of the week. Using sum() in this manner but for the life of me i cant get count working.
* in its most basic form the sql statment is below
select count(saleshead.dsalestamp) for dow(saleshead.dsalestamp = 1) ;
from saleshead
what do i have to do differently to make this work?
thx in advance