Hi all
Below is a truncated SQL code that I am using. It produces the attached dataset (the top portion), but I want to combine the 3 lines into one where the ReasonForVisitNM is all on one line (bottom portion). I truncated the code because its rather long with a lot of columns but didn't think it was necessary to include. If it is please let me
know. Any assistance would be appreciated.Select Distinct
#immunoTxCohort.PatientID
,#immunoTxCohort.PatientNM
,#immunoTxCohort.BirthDTS
,#immunoTxCohort.SubscriberID
,#immunoTxCohort.HA_PEID as Tx_PEID
,ref_rfv.ReasonForVisitNM