SELECT * from A inner join (select prj_id,(counts_1 * Unit_Price_1)+(counts_2 * Unit_Price_2)+(counts_3 * Unit_Price_3)+(counts_4 * Unit_Price_4) as sum_count from A) B on A.Prj_ID=B.Prj_IDSELECT * from A inner join (select prj_id,(coun
SELECT * from A inner join (select prj_id,(counts_1 * Unit_Price_1)+(counts_2 * Unit_Price_2)+(counts_3 * Unit_Price_3)+(counts_4 * Unit_Price_4) as sum_count from A) B on A.Prj_ID=B.Prj_IDSELECT * from A inner join (select prj_id,(coun