Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
i have duplicates in job name column,i want to remove duplicates from job name column and want to concatenate reference column based on job name .tell query ?
Hi!
In SQL Server, you can use STRING_AGG
SELECT
job_name,
STRING_AGG(reference, ', ') AS concatenated_references
FROM
your_table
GROUP BY
job_name;
Hi @polankiraghuram,
Can you please give some examples with screen shots of what are you trying to achieve?
Regards,
Mark Costa
Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com
hi @polankiraghuram if you found a solution, please tell us, it is useful to community