Hi,
Can anyone help me to figure out how to write this view in SQL 2000?
I have this table:
DoctorID PatientID
104 111
104 222
103 354
104 265
103 589
Is there an easy way to write a view based on this table and the view looks like this:
DoctorID PatientID
104 111 222 265
103 354 589
I just want to put all patient ids into one column.
Can anyone help me to figure out how to write this view in SQL 2000?
I have this table:
DoctorID PatientID
104 111
104 222
103 354
104 265
103 589
Is there an easy way to write a view based on this table and the view looks like this:
DoctorID PatientID
104 111 222 265
103 354 589
I just want to put all patient ids into one column.