Three tables: tblPeople, tblApplicants and tblLegislator.
tblPeople
PeopleCodeId LastName FirstName
1000 Smith Harry
2000 Sooner Amber
3000 Fillpot John
5555 Harry Phil
6666 Stevens Melissa
7777 Williamson Barry
tblApplicant
PeopleCodeID SenateID HouseID
1000 SCHS33 SCHH40
2000 SCHS22 SCHH50
3000 SCHS11 SCHH42
tblLegislator
PeopleCodeID LegislatorID
5555 SCHS33
6666 SCHH50
7777 SCHS11
Now we want to get a list of all the applicant to each legislator:
Applicant's PeopleCodeID
Applicant's Firstname & Lastname
Applicant's SenateID
Legislator's PeopleCodeID (where the LegislatorID matches the SenateID)
Legislator's Firstname & Lastname
tblPeople
PeopleCodeId LastName FirstName
1000 Smith Harry
2000 Sooner Amber
3000 Fillpot John
5555 Harry Phil
6666 Stevens Melissa
7777 Williamson Barry
tblApplicant
PeopleCodeID SenateID HouseID
1000 SCHS33 SCHH40
2000 SCHS22 SCHH50
3000 SCHS11 SCHH42
tblLegislator
PeopleCodeID LegislatorID
5555 SCHS33
6666 SCHH50
7777 SCHS11
Now we want to get a list of all the applicant to each legislator:
Applicant's PeopleCodeID
Applicant's Firstname & Lastname
Applicant's SenateID
Legislator's PeopleCodeID (where the LegislatorID matches the SenateID)
Legislator's Firstname & Lastname