luiscantor
Programmer
Hi Programers,
Could you support me with a question that I could not solve?
Need to get the total time for each group, for example CREATE_TIMESTAMP column contains some time values process. The ID column contains the classification of the process.
|_______ID______|_____MODEL______|_____________ CREATE_TIMESTAMP_________________
A A1 8/27/2013 12:57:05
A A1 8/29/2013 14:40:45
B B1 8/27/2013 7:04:49
B B1 8/27/2013 8:06:57
B B1 8/27/2013 9:06:57
B B1 8/27/2013 9:07:00
C C1 8/30/2013 1:28:36
C C1 8/30/2013 2:10:36
C C1 8/30/2013 2:13:40
I need to make a query to DB2 throws me the following information, based on the before table
|_______ID______|_____MODEL______|_____________TOTAL TIME_______________
A A1 2984:40
B B1 122:11
C C1 45:04
45:06 means---> 45 minutes, 6 seconds
Regards
Could you support me with a question that I could not solve?
Need to get the total time for each group, for example CREATE_TIMESTAMP column contains some time values process. The ID column contains the classification of the process.
|_______ID______|_____MODEL______|_____________ CREATE_TIMESTAMP_________________
A A1 8/27/2013 12:57:05
A A1 8/29/2013 14:40:45
B B1 8/27/2013 7:04:49
B B1 8/27/2013 8:06:57
B B1 8/27/2013 9:06:57
B B1 8/27/2013 9:07:00
C C1 8/30/2013 1:28:36
C C1 8/30/2013 2:10:36
C C1 8/30/2013 2:13:40
I need to make a query to DB2 throws me the following information, based on the before table
|_______ID______|_____MODEL______|_____________TOTAL TIME_______________
A A1 2984:40
B B1 122:11
C C1 45:04
45:06 means---> 45 minutes, 6 seconds
Regards