I have a data table Employee like below. I want to Concatenate Name columns into one columns with serial number
Name |
Father Name |
Mr. James |
Mr. Lucas |
Mr. Mateo |
Mr. William |
Mr. Noah |
Mr. William |
I want following output for name column
Name |
(1) Mr. James (2) Mr. Mateo (3) Mr. Noah |
if data table has single row then like below
Name |
Father Name |
Mr. James |
Mr. Lucas |
then output is without serial number