I have columns that can have values 0,1,2,3,4,5,6,7,8
I need to be able to Sum/Avg columns but ONLY where the value is <6
At the moment, they are smallint which I would like to retain but I could make them char or single if necessary ('0','1','2','3','4','5','A','B','C')
Can anyone think of any ideas?