Hello,
I think You want somethink like this:
SELECT
A.Group_ID,
B.Value1 as Group_val1,
B.Value2 as Group_val2,
A.member_ID,
C.Value1 as Member_val1,
C.Value2 as Member_val2
FROM Database.Table1 A
LEFT JOIN Database.Table2 B
ON A.Group_ID=B.ID
LEFT JOIN Database.Table2 C
ON A.member_ID=C.ID
ORDER BY 1,4
Regards
Peter
Hello,
I think You want somethink like this:
SELECT
A.Group_ID,
B.Value1 as Group_val1,
B.Value2 as Group_val2,
A.member_ID,
C.Value1 as Member_val1,
C.Value2 as Member_val2
FROM Database.Table1 A
LEFT JOIN Database.Table2 B
ON A.Group_ID=B.ID
LEFT JOIN Database.Table2 C
ON A.member_ID=C.ID
ORDER BY 1,4
Regards
Peter