I want to look up a primary machine number in a table.
If the primary machine number is a match, I want to look at the grade number.
If the grade number is also match, I then want to look at the customer number.
If the customer number also matches, I want to sum all tons where the primary...