View material_master table here
I would like to retrieve the material_price and quantity from material_master table (refer to picture), after which I want to multiply and add the cost together.
Example:
(For Table Top) --> 10*1=10
(For Legs) --> 4*4=16
Total = 10+4=$26.
How do I execute it in query?
Total quantity of Table Tops:
Total quantity of Table Legs:
` How do I echo for Table Top should be 1, Legs should be 4? – Janice Jan 05 '16 at 07:17