**uid pid mail value**
1 78 27 Nairobi
2 78 27 Milimani
3 78 27 Criminal
4 78 27 1427932800
I have a DB table above and only need the 'value' column values. I want to have the column values display in rows (not comma separated) for a cross-tab report. my ideal result would be:
**Nairobi Milimani Criminal 1427932800**
The matching 'pid' and 'mail' means that the corresponding 'value' is from a single submission and a change in pid and mail (not captured here) is a new submission!
so how do I write an sql for converting the 'value' column values to row values? any help much appreciated.
'Pivot' has not really helped or i'm probably doing it wrongly.!!