dor
01-12-2004, 08:53 AM
I have 2 tables:
Table 1
IDf |Desc
1 |One
2 |Two
3 |Three
4 |Four
Table 2
IDa |IDf
1 |1
1 |2
2 |2
2 |2
What I need is some way of presenting the data like this:
SUM(IDa) as NoCols, <A Function>(Desc) as AllDesc From <etc> Where IDa = 1
Results:
NoCols |AllDesc
2 |One,Two
Can this be done? Thanks in advance!
Table 1
IDf |Desc
1 |One
2 |Two
3 |Three
4 |Four
Table 2
IDa |IDf
1 |1
1 |2
2 |2
2 |2
What I need is some way of presenting the data like this:
SUM(IDa) as NoCols, <A Function>(Desc) as AllDesc From <etc> Where IDa = 1
Results:
NoCols |AllDesc
2 |One,Two
Can this be done? Thanks in advance!