查询一张表影响的其他调度作业
select t.job_name,
p.condition,
p.odate,
cmd_line,
day_str,
application,
sched_table,
group_name,
data_center,
author,
owner,
priority,
node_id
from def_tables_and_jobs t
left join def_lnki_p p
on t.table_id=p.table_id
and t.job_id=p.job_id
where p.condition in('ccs_sdm_aps_replenish-end')
and data_center='sjpt233'
and application ='CCS'
and t.is_current_version='Y'
and p.odate<>'PREV'
order by t.job_name