First of all, I've looked at this, and my question is different - albeit slightly. Also I have tried the approach and tried to modify it to work for me, but no dice.
Question:
From a result of a couple of queries I get the following result:
ID | NAME | DESCID | TALL | GOODLOOKING | FAT
_______________________________________________________________
1 | John | 1 | '1.8m' | Null | Null
1 | John | 2 | Null | 'Yes' | Null
1 | John | 3 | Null | Null | '84kg'
1 | John | 4 | Null | Null | '85kg'
Note: Just some dummy data BTW.
I need the output to be the following:
ID | NAME | TALL | GOODLOOKING | FAT
__________________________________________________________
1 | John | '1.8m' | 'Yes' | '84kg|85kg'
If this is not possible I would appreciate knowing that, so feel free to tell me.
Any help SQL legends?
fatcolumn? what ifGoodlookinghad 2not nulldistinctvalues?