Hi,
You could use a MIN (Customer) to arrive at the minimum value and use a previous_row_value() function to select the row. If the current row in customer field and current row in type field are equal to the previous row of customer field and previous row of type field, then select that row.
Arun