Database SQL Operation: HearingParticipation.countHearingAppellants
Description: | This methods retrieves the appellants for a particular hearing. |
Sterotype: | ns |
SELECT
count(*)
INTO
:numberOfRecords
FROM
HearingParticipation,
Appellant
WHERE Appellant.caseParticipantRoleID IN
(
SELECT
caseParticipantRoleID
FROM
HearingParticipation
)
AND Appellant.caseParticipantRoleID = :caseParticipantRoleID
AND Appellant.caseParticipantRoleID = HearingParticipation.caseParticipantRoleID
AND HearingParticipation.hearingID = :hearingID
|