I have a table having data like as below:
Description Name
ABC AB
ABCD AB, BC, CD
ABCDF AB, BC
Now i needed output as below:
Description Name
ABC AB
ABCD AB, BC and CD
ABCDF AB and BC
How can i get desired output in SQL? please help me out.