Not sure if this is really a "function," but, here goes.
I need to perform this mathematical function on some columns in my table:
[ (a1) + (a2) + (a3) + (a4) ] / 6
Where a1, a2, a3, a4 cannot be less than zero, or greater than 2.375. How can I perform this using the SET column_name command?
I need to perform this mathematical function on some columns in my table:
[ (a1) + (a2) + (a3) + (a4) ] / 6
Where a1, a2, a3, a4 cannot be less than zero, or greater than 2.375. How can I perform this using the SET column_name command?