update intake
set intakecom = otherreason
where visitreason
from intakecom.clientno = visitreason.clientno
I have this update statement, but the issue I have is that tbl visitreason has multiple otherreason
i.e.
visitreason.clientno otherreason
1207 ALF
1207 OTS
1207 TAS
....
What I want is that intakecom has all of otherreason contents, so that it shows like below.
intakecom.clientno intakecom
1207 ALF, OTS,TAS
Please advise.
thx much
set intakecom = otherreason
where visitreason
from intakecom.clientno = visitreason.clientno
I have this update statement, but the issue I have is that tbl visitreason has multiple otherreason
i.e.
visitreason.clientno otherreason
1207 ALF
1207 OTS
1207 TAS
....
What I want is that intakecom has all of otherreason contents, so that it shows like below.
intakecom.clientno intakecom
1207 ALF, OTS,TAS
Please advise.
thx much