Hi,
I'm trying to get my query to show all of my QUAL.[PCR Descriptions] that are contained within a linked table, even if my main [INDIVIDUALS Starter Info] table has no values matched against them. Can someone help me please and tell me where I'm going wrong?
Basically, I need to show the full QUAL.Value, QUAL.[PCR Description] list even if there are no values matched against QUAL.Value from the main table.
I hope that makes sense!
Here's my current SQL query which only gives me matching records:
SELECT QUAL.Value, QUAL.[PCR Description], Sum(IIf([GEND]="1",1,0)) AS Male, Sum(IIf([GEND]="2",1,0)) AS Female
FROM QUAL INNER JOIN [INDIVIDUALS Starter Info] ON QUAL.Value = [INDIVIDUALS Starter Info].QUAL
WHERE ((([INDIVIDUALS Starter Info].STATUS)="3"))
GROUP BY QUAL.Value, QUAL.[PCR Description], QUAL.SortNum
ORDER BY QUAL.SortNum;
Thanx in advance
I'm trying to get my query to show all of my QUAL.[PCR Descriptions] that are contained within a linked table, even if my main [INDIVIDUALS Starter Info] table has no values matched against them. Can someone help me please and tell me where I'm going wrong?
Basically, I need to show the full QUAL.Value, QUAL.[PCR Description] list even if there are no values matched against QUAL.Value from the main table.
I hope that makes sense!
Here's my current SQL query which only gives me matching records:
SELECT QUAL.Value, QUAL.[PCR Description], Sum(IIf([GEND]="1",1,0)) AS Male, Sum(IIf([GEND]="2",1,0)) AS Female
FROM QUAL INNER JOIN [INDIVIDUALS Starter Info] ON QUAL.Value = [INDIVIDUALS Starter Info].QUAL
WHERE ((([INDIVIDUALS Starter Info].STATUS)="3"))
GROUP BY QUAL.Value, QUAL.[PCR Description], QUAL.SortNum
ORDER BY QUAL.SortNum;
Thanx in advance