Hello,
I have a requirement Where I want to Convert data in first table into second table. How Can I do this using sql/pl/sql. First Table is also Custom and Second table is also Custom.
Emp Code
| Emp Name
| Desgination
| Period1 | Basic Salary 1 | Gross Salary 1
| House Rent 1 | Period2 | Basic Salary 2 | Gross Salary 2 | House Rent 2 |
---|
WS100 | John | Consultant | Jan-19 | 10000 | 15000 | 500 | Feb-19 | 14000 | 18000 | 700 |
Month | Year | Emp Code | Emp Name | Designation | Basic Salary | Gross Salary | House Rent |
---|
Jan | 19 | WS100 | John | Consultant | 10000 | 15000 | 500 |
Feb | 19 | WS100 | John | Consultant | 14000 | 18000 | 700 |
Thanks and Regards,
Saad Qaiser Khan