| EmpCode | month | salary |
| 1 | Feb2015 | 32000 |
| 1 | march2015 | 32000 |
| 2 | Feb2015 | 41000 |
| 3 | feb2015 | 30000 |
| 3 | march2015 | 30000 |
i want result set like:-
| EmpCode | Jan2015 | Feb2015 | March2015 |
| 1 | null | 32000 | march2015 |
| 2 | null | 41000 | null |
| 3 | null | 30000 | 30000 |
| EmpCode | month | salary |
| 1 | Feb2015 | 32000 |
| 1 | march2015 | 32000 |
| 2 | Feb2015 | 41000 |
| 3 | feb2015 | 30000 |
| 3 | march2015 | 30000 |
| EmpCode | Jan2015 | Feb2015 | March2015 |
| 1 | null | 32000 | march2015 |
| 2 | null | 41000 | null |
| 3 | null | 30000 | 30000 |
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Nilesh SawardekarRank #648 · 3.7K reputationPosted Jul 25, 2016, 12:06 AM EDT