Hi,
I am writing a script - an applicant attends courses. The applicants may attend the sessions more than once. But I am only interested in finding out whether they have attended it at least once.
script result is shown below.
session1_attended_ind
-----------------------
Y
N
Y
Y
I only want to get one row with 'Y' since this applicant has attended the session (even though more than once).
Any ideas?
Thanks
Jino
I am writing a script - an applicant attends courses. The applicants may attend the sessions more than once. But I am only interested in finding out whether they have attended it at least once.
Code:
select
cat.session1_attended_ind
from case_applicant_training cat
where case_id=94
and applicant_id=45
script result is shown below.
session1_attended_ind
-----------------------
Y
N
Y
Y
I only want to get one row with 'Y' since this applicant has attended the session (even though more than once).
Any ideas?
Thanks
Jino