17,378
社区成员
发帖
与我相关
我的任务
分享
select ceil(sysdate -
to_date(concat(to_char(makedate, 'yyyy-MM-dd'), maketime),
'yyyy-MM-dd hh24:mi:ss'))*24*60 as plminute from tccontprintinfo;
select t.name, t.makedate,t.maketime from temp t where
and ceil(sysdate -
to_date(concat(to_char(makedate, 'yyyy-MM-dd'), maketime),
'yyyy-MM-dd hh24:mi:ss'))*24*60 >20;
select t.name, t.makedate, t.maketime
from temp t
where (sysdate -
to_date(to_char(makedate, 'yyyy-MM-dd') || ' ' || maketime,
'yyyy-mm-dd hh24:mi:ss')) * 24 * 60 > 20;