I have a table
ReferenceNo | Description | Amount
--------------------------------
1222 abcd 30
1223 efgh 10
1223 ijkl 10
1224 mnop 15
1224 qrst 5
1225 uvwx 33
I want output like this:
ReferenceNo | Description | Amount
--------------------------------
1222 abcd 30
1223 efgh ijkl 20
1224 mnop qrst 20
1225 uvwx 33
here referenceNo
are repeated I want to add the amount and need to concatenate description group by referenceNo
Please help me how to solve this problem