select TX_ID,
extract(hour from (END_TIMESTAMP - START_TIMESTAMP)) * 3600000
+ extract(minute from (END_TIMESTAMP - START_TIMESTAMP)) * 60000
+ extract(second from (END_TIMESTAMP - START_TIMESTAMP)) * 1000 diff_im_ms
from t_transaction
where TX_ID IN (6587728628,6587728639,6587728647);
167 |
No comments:
Post a Comment