<"I have following tables I would like to calculate remaining stock." Table1 inventory in.
id inventory name quantity in