hi
select id,min(actual) Min_Actual, max(actual) max_actual,
count(id) from main
group by id
in min and max, i need to exclude actual = 0, If use WHERE Acutal <> 0, my count(ID) will be wrong, I want to count by id even actual is zero
Is it possible in one query
thanks
v