My table has item code, item sequence, and then item minimum, base and rate. I want write a query to calc the item charge while the item code is the same. Each item code could have more than one sequence (or tier).
I'm thinking it should be some kind of "for each" or "do while" statement, but I can't figure it out.
Code:
ItemNumber ItemSeq ItemUnit ItemMin ItemBase Item Rate F00011 01 10 $75.00 $18.00 $3.30 F00011 02 15 $0.00 $0.00 $2.20 F00011 03 999 $0.00 $0.00 $1.10 F00014 00 1 $0.00 $18.00 $0.00
Comment