select personid, max(startdate), enddate from table where personid = BENUTZERID_DES_AKTUELLEN_BENUTZERS;