I'm new to SQL and was wondering if you could help me create a query that compares the time difference in Days, Hours, Minutes.
For example,
Start time 1 = 13/01/2016, 16:00
End time 1 = 14/01/2016, 18:00
So the time difference should be 1 day and 2 hours right?
Another example.
Start time 2 = 20/10/2016, 12:00
End time 2 = 20/10/2016, 16:00
So the
time difference is just 2 hours.
The reason I need this query is to create a report based on the difference in time between a start time and a finish time of a task.