两个时间之间相差多少分
select round((a.process_endtime - a.process_starttime) * 24, 2) hours,
round((a.process_endtime - a.process_starttime) * 24 * 60, 2) min,
case
when round((a.process_endtime - a.process_starttime) * 24 * 60) < 1 then
0
else
a.row_count /
round((a.process_endtime - a.process_starttime) * 24 * 60)
end rat, a.row_count, a.*
from etl_process_record a
--where a.error_description is not null
where a.table_name = 'ODS_EBS_XLA_AE_LINES'
order by a.record_key desc;