SELECT
ProgramApplication.applicationID, ProgramApplication.deadlineDate, ProgramApplication.disposedDateTime,
ProgramApplication.numWarningDays, ProgramApplication.programApplicationID,
ProgramApplication.programApplicationStatusID, ProgramApplication.programRequestDate,
ProgramApplication.programType, ProgramApplication.submittedDateTime,ProgramApplication.versionNo
INTO
:applicationID,
:deadlineDate,
:disposedDateTime,
:numWarningDays,
:programApplicationID,
:programApplicationStatusID,
:programRequestDate,
:programType,
:submittedDateTime,
:versionNo
FROM
Application,
ProgramApplication,
ProgramApplicationStatus
WHERE application.applicationID = :applicationID
AND ProgramApplication.applicationID = application.applicationID
AND ProgramApplication.programApplicationStatusID = ProgramApplicationStatus.programApplicationStatusID
AND ProgramApplicationStatus.status = :programStatus
|