I have the following data
Activity | Indicator | Impact
------------------------------------------------
Payroll risk | Indicator A | Low
Payroll risk | Indicator B | Low
Payroll risk | Indicator C | Low
Wrong selections | Indicator D | High
Wrong selections | Indicator E | High
Fraudulant Cred | Indicator F | Medium
Fraudulant Cred | Indicator G | Medium
Then this data should be recieved in the following format
Activity | Indicator | Indicator | Indicator | Impact
--------------------------------------------------------------------
Payroll risk | Indicator A | Indicator B | Indicator C | Low
Wrong selections | Indicator D | Indicator E | | High
Fraudulant cred | Indicator F | Indicator G | | Medium
What can be the process for the following operation in sql? The number of columns shoild be same as the maximum number of rows for any common record.
Thanks.