have a table with three fuel tanks,(example diesel,ULP LPR) then i have a table for the Pumps example (pump1,pump2,pump3 and so on,they extract the fuel from the tanks.The tanks have a daily open and close reading,And the pumps also have a open and close reading.I have attached a sample