Question : Multi-table Query

I've attached a small database that has two tables.  tblProjectControl is a list of projects.  tblSizings is a listing of hours charged to each project (Key for both tables) by several different team members.  I am trying to create a querry that will list each project and show the number of hours charged by each team.  The database has two queries I've created.  Query1 works as expected but only show hours for 1 team.  When I try to add columns for additonal teams, the query fails.  It is important that each project show up only 1 time in the query.  Can someone please assist?
Code Snippet:
1:
2:
3:
4:
'Working SQL for Query1
SELECT tblProjectControl.[Project Number], tblProjectControl.[Project Name], tblSizings.Hours AS [TEAM 1]
FROM tblProjectControl INNER JOIN tblSizings ON tblProjectControl.[Project Number] = tblSizings.[Project Number]
WHERE (((tblSizings.szi_ID)=10));
Open in New Window Select All

Answer : Multi-table Query

do you mean like this

SELECT tblProjectControl.[Project Number], tblProjectControl.[Project Name], Sum(IIf([szi_ID] In (6,7,8,9,10),[Hours],0)) AS [TEAM 1], Sum(IIf([szi_ID] In (2,3,4,5),[Hours],0)) AS [TEAM 2]
FROM tblProjectControl LEFT JOIN tblSizings ON tblProjectControl.[Project Number] = tblSizings.[Project Number]
GROUP BY tblProjectControl.[Project Number], tblProjectControl.[Project Name];
Random Solutions  
 
programming4us programming4us