hey guyz..
lets say i have 3 fields
quantity,price and discount.

how do i do this?

quantity*price*discount (1 row)

then add each row that fill a certain condition?