I have table like this below,
SNO Name Sales Profit
1 John 50 20
2 Peter 60 0
3 Mark 15 10
4 Nicolas 0 -10
5 Alex 70 20
I would like to convert this into below, (i.e sales and profit values should be combined to single column).
SNO Name Sales_Profit Values
1 John Sales 50
1 John profit 20
2 Peter Sales 60
2 Peter Profit 0
and So on.
Is there any way to handle this scenario without functions/procedures?