I've a table like this
PCode Milestone DeliveryDate Status
------------------------------------------------------
P1234 Start 14/5/2019 Complete
P1234 End 17/6/2019 Complete
P2345 Start 8/6/2019 Progress
P2345 End 19/6/2019 Progress
P7335 Start 18/8/2019 Provisional
P7335 End 19/9/2019 Provisional
-----------------------------------------------------------
Based on the above data I need to get a table like this
PCode Start End Status
---------------------------------------------
P1234 14/05/2019 17/06/2019 Completed
P2345 8/6/2019 19/06/2019 Progress
P7335 18/08/2019 19/09/2019 Provisional
----------------------------------------------
Im not having an idea how to achieve this using some PIVOT