I have a table as below:
| ItemName | 1mth_presale_cost | 2mth_presale_cost | 1mth_postsale_cost | 2mth_postsale_cost |
|---|---|---|---|---|
| 1000 | 10.1 | 12.1 | 12.5 | 15.1 |
| 1001 | 20.2 | 15.2 | 25.2 | 17.3 |
I want the result to be like below table:
| ItemName | 1mth_cost | 2mth_cost |
|---|---|---|
| 1000 | 10.1 | 12.1 |
| 1000 | 12.5 | 15.1 |
| 1001 | 20.2 | 15.2 |
| 1001 | 25.2 | 17.3 |
I don't want to use UNION for this.
UNION!?