I have a table like this:
Employee Month ActDate
Emp 1 Feb 10/02/2019
Emp 1 Feb 15/02/2019
Emp 1 Mar 10/03/2019
Emp 2 Mar 09/03/2019
Emp 2 Apr 04/04/2019
Emp 2 Apr 05/04/2019
Emp 3 Feb 03/02/2019
Emp 4 Feb 06/02/2019
and I need to make it look like this
Employee Feb Mar Apr
Emp 1 10/02/2019 - 15/02/2019 10/03/2019
Emp 2 09/03/2019 04/04/2019 - 05/04/2019
Emp 3 03/02/2019
Emp 4 06/02/2019
I can pivot this but for example Emp2 would have 2 rows on Feb, i need to concatenate all rows for the same employee, how can i achieve this?
Using SQL Server 2008
Thanks