If I have data in TableA:[tt]
ProjectNumber
ABCD[/tt]
TableB:[tt]
ProjectNumber AnotherField
ABCD xyz[/tt]
As long as I have just one (or none) record in TableB, I can ask for this data:
Code:
Select ProjectNumber || ' ' ||
([blue]Select AnotherField from TableB
Where TableB.ProjectNumber = TableA.ProjectNumber[/blue]) As MyProjNo
From TableA
MyProjNo
ABCD xyz[/tt]
But I have this in TableB:[tt]
ProjectNumber AnotherField
ABCD xyz
ABCD ggg
ABCD klm
ABCD opq[/tt]
And I want to have displayed:[tt]
MyProjNo
ABCD xyz ggg klm opq[/tt]
Any ideas?
(Data base is Oracle)
Have fun.
---- Andy