Here is the current layout of the table I'm working with:
Row_ID Line DX_ID
123 1 a
123 2 b
123 3 c
534 1 a
534 2 b
945 1 a
945 2 b
945 3 c
945 4 d
What I want to end up within in a View or temporary table that looks like this:
Row_ID DX_ID
123 a b c
534 a b
945 a b c d
Essentially I'm wanting to concatenante all of the DX_ID column values together that have the same Row_ID value. In this example, an individual Row_ID can have one to many rows.
Ideas on how to accomplish this?
Thanks,
B
Row_ID Line DX_ID
123 1 a
123 2 b
123 3 c
534 1 a
534 2 b
945 1 a
945 2 b
945 3 c
945 4 d
What I want to end up within in a View or temporary table that looks like this:
Row_ID DX_ID
123 a b c
534 a b
945 a b c d
Essentially I'm wanting to concatenante all of the DX_ID column values together that have the same Row_ID value. In this example, an individual Row_ID can have one to many rows.
Ideas on how to accomplish this?
Thanks,
B