CapsuleCorpJX
IS-IT--Management
SELECT average(Query_E_Timestamp - Query_B_Timestamp SECOND(4)) as "Average
FROM dbtest.dbtesttable
Apparently the average returned by the query is very precise, with up to 6 digits right of the decimal.
Anyway, what is a function that can round it to X.Y seconds?
Is there a special way to use CAST(<data> as Format '<format string'>)?
FROM dbtest.dbtesttable
Apparently the average returned by the query is very precise, with up to 6 digits right of the decimal.
Anyway, what is a function that can round it to X.Y seconds?
Is there a special way to use CAST(<data> as Format '<format string'>)?