Possible Duplicate:
Concatenate many rows into a single text string?
MY SQL : I have a table that has 3 columns:
╔═════╦═════╦════════╗
║ ID1 ║ ID2 ║ ANSWER ║
╠═════╬═════╬════════╣
║   1 ║   2 ║      4 ║
║   1 ║   2 ║      5 ║
║   1 ║   4 ║      8 ║
╚═════╩═════╩════════╝
And i want a table that will look like that:
╔═════╦═════╦════════╗
║ ID1 ║ ID2 ║ ANSWER ║
╠═════╬═════╬════════╣
║   1 ║   2 ║ 4 + 5  ║
║   1 ║   4 ║ 8      ║
╚═════╩═════╩════════╝
Meaning: if i have different answers for id1&id2, i want them to be in one row with some separator (it can be + or something else) and only one row for each pair of id1,id2
 
     
     
    