I have this so far but stuck.....
SELECT a.Total_Assignment_Hrs, a.Assignment_Cost_Per_Day
SUM (Total_Assignment_Hrs-Assignment_Cost_Per_Day) AS Assignment_Cost
FROM Projects p,Employee_Records e, Assignments a
WHERE p.ProjectID=a.ProjectID
GROUP BY a.AssignmentID, a.Assignment_Name;
The issue i'm having is that i need to calculate the top SUM but i can't get it to produce a result with the sum statement in how do extend it to show what i need ?.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…