I am having trouble with my query in sql 2005.
what i have is
select Producer, weight,pickup,pickupdate, scc
from table1
where pickupdate between 4-1-10 and 4-23-10
what i want to do is average all the producers SCC numbers up and divide by the pickups. im having a heck of a time getting it to come out right.
any help would be great.
what i have is
select Producer, weight,pickup,pickupdate, scc
from table1
where pickupdate between 4-1-10 and 4-23-10
what i want to do is average all the producers SCC numbers up and divide by the pickups. im having a heck of a time getting it to come out right.
any help would be great.