L
lee
item len width height c/nc
shoes 10 5 7
racket 4 23 12
rabit 5 12 14
i have a table with the fields item, length, width and height. i will
have to add another field c/nc. This field is calculated by using the
formula - ((height dimension*10)/(lowest dimension))- third dimension
if the value of this formula is less than 10, then the field c/nc will
be c . if the value is greater than 10, then it will be nc.
what will be the sql query which will calcualte the formula and based
on the formula , populate the c/nc field. thanks
shoes 10 5 7
racket 4 23 12
rabit 5 12 14
i have a table with the fields item, length, width and height. i will
have to add another field c/nc. This field is calculated by using the
formula - ((height dimension*10)/(lowest dimension))- third dimension
if the value of this formula is less than 10, then the field c/nc will
be c . if the value is greater than 10, then it will be nc.
what will be the sql query which will calcualte the formula and based
on the formula , populate the c/nc field. thanks