skip to Main Content

mysql sum coulmn which as query result

i am using this query to get cost of the product select SUM(strg_op.opcost)/ SUM(strg_op.opvalue * 1000) * strg_catgs.Disrate as totalcost from strg_catgs INNER JOIN strg_op on strg_op.ElemID = strg_catgs.elemID and strg_catgs.elemID =( select strg_catgs.elemID where strg_catgs.catID = '13' ) and…

VIEW QUESTION
Back To Top
Search