Hi all i need ur help on how to calculate the avg time of two time stamps like start_time and end_time .
The ideal need is to know the average time taken by each job from a table .
i tried
SELECT job_name,AVG(en d_time - start_time) FROM rdbdev.loop_thr ough_job_stats WHERE report_id =12059909 GROUP BY job_name
the avg returned returns in an exponentiation values like
9.2592592592592 6E-7
in some cases ...how to get the correct value in minutes ...pls suggest.....
that is a paticular job had taken zzz minutes on a na average to complete the report.
The ideal need is to know the average time taken by each job from a table .
i tried
SELECT job_name,AVG(en d_time - start_time) FROM rdbdev.loop_thr ough_job_stats WHERE report_id =12059909 GROUP BY job_name
the avg returned returns in an exponentiation values like
9.2592592592592 6E-7
in some cases ...how to get the correct value in minutes ...pls suggest.....
that is a paticular job had taken zzz minutes on a na average to complete the report.
Comment