Report question

Question: How to remove all rows from a table except first two and last?