9.0版本,在管理系统那里把调度任务存放到了指定数据库中
SQL脚本:select a.job_name,
a.job_seq,
a.job_runtime
from app.jobrecord a
join (select job_name,max(job_seq) job_seq
from app.jobrecord
where job_seq <> ':'
and SUBSTR(job_seq, (1), (10)) >= '2023-11-01'
group by job_name) b
on a.job_name =b.job_name
and a.job_seq =b.job_seq
where a.job_seq <> ':'