I just used the below sql to get a count of records with the same value, but a higher customer id number - and changed the color of the ones that returned zero (showing they were the first records of the new value)
SELECT MAIN.N_CUST_ID, MAIN.T_TEAM_NAME, (select count(SUB.T_TEAM_NAME)
from...