Ваша проблема решена: -
select Id,
name,
max(case when rn = 1 then StartDate end) StartDate,
max(case when rn = 1 then EndDate end) EndDate,
max(case when rn = 1 then Association end) Association,
max(case when rn = 2 then StartDate end) StartDate1,
max(case when rn = 2 then EndDate end) EndDate1,
max(case when rn = 2 then Association end) Association1
from
(
select id, name, StartDate, EndDate, Association,
row_number() over(partition by Id order by name) rn
from Business
) src
group by id, name;
