My current result set is below:
Case_ID | Action_name | Status_code
1 John Valid
1 Peter Valid
I want this to be
Case_ID | Action_name | Status_Code
1 John, Peter Valid
or it can also be displayed as
Case_ID | Action_name1 | Action_name2 | Status_code
1 John peter Valid
Any possible information would be greatly helpful. I tried the Pivot function but for some reasons, I couldn't get it right. I know we can do this in SQL server but I'm new to TOAD data point.
You didn't specify database you use. If it is Oracle, then LISTAGG function might help:
Otherwise, see whether your database offers such an aggregation function; I know some of them do.