Report question

Question: SQL: selecting rows where column value changed from previous row