SELECT
HearingRepresentative.hearingRepresentativeID,
HearingRepresentative.caseParticipantRoleID,
CaseParticipantRole.participantRoleID,
HearingRepresentative.versionNo,
ConcernRole.concernRoleName,
HearingRepresentative.participatedCode
INTO
:hearingRepresentativeID,
:caseParticipantRoleID,
:participantRoleID,
:versionNo,
:fullName,
:participatedCode
FROM
HearingRepresentative,
CaseParticipantRole,
ConcernRole
WHERE HearingRepresentative.hearingID = :hearingID
AND CaseParticipantRole.recordStatus = :recordStatus
AND HearingRepresentative.caseParticipantRoleID = CaseParticipantRole.caseParticipantRoleID
AND CaseParticipantRole.participantRoleID = ConcernRole.concernRoleID
|