I have table subs_details sample data and columns like:
| ID | Number |
|---|---|
| 1 | 4579 |
| 2 | 5678 |
| 3 | 6678 |
| 2 | 7803 |
| 1 | 5479 |
| 3 | 5779 |
I want to convert it into below output:
| ID1 | id1_number | id2 | id2_number | id3 | id3_number |
|---|---|---|---|---|---|
| 1 | 4579 | 2 | 5678 | 3 | 6678 |
| 1 | 5479 | 2 | 7803 | 3 | 5779 |
Please help in this