How can I calculate the difference between the purchase and sale quantity in one query using Ms Access database?
My data, for example, looks like this:
ProductId Type Quantity 1 Purchase 24 1 Sale 1
How would I get the difference of (24-1=23) in one query?