Start time and end time is stored seperately in two different records and I would need to calculate time difference. Shipment_Id values identifies relation between records.

QUestion is,

I need to know SQL statement to generate this result. Can you give me a sample SQL.