Compare records in the same table

maxim

Registered User.
Local time
Today, 17:04
Joined
Aug 1, 2008
Messages
13
I have a table with contract information. It's got Contract #, Customer ID, date contract was signed, quantity purchased. When customer makes purchase again system creates another contract with a new number. I need to compare each contract for the customer with the contract signed next time by this customer and calculated the difference in quantity purchased. Can anybody point me in a right direction?
 
Last edited:

Users who are viewing this thread

Back
Top Bottom