With group By we can identify the rows belonging to a person From the group we can extract the Entry Date / Expire Date from the group members
Have a look here: