Hi,

I want make the database for my share account. It should be run on the query of share name and quantity and derive the price on first come first sale bases. Kindly share me the formula for that.