• Thankyou for you reply.

    grps can be updated many times on many dates, so can appear in the table many times.

    The table is ordered by date, so I am only interested in the first 'n' rows plus however many rows needed to get all items for the grp.

    In this case, its 8 + 5 rows.

    So the answer to your question is I am only interested in rows 1-13 and not any subsequent rows