I want to concatenate the surrounding rows(in the following examples only the current one and the previous one) after ranking to a new column(group by seems to not
group by