Report question

Question: sql pulling a row for next or previous row of a current row