我在 PL-SQL 中有一个查询。我想选择与当前日期差大于一天和其他一些条件的记录...
select round(sysdate - u.RecordDate) as deleteme,
round(sysdate - u.Payment_date) as payment,
nvl(isverified, 0) as Verified
from user_cards u
where ((round(sysdate - u.RecordDate) > 0) || (round(sysdate - u.Payment_date) > 0))
and nvl(isverified, 0) = 0
order by id desc
但是这里有个问题 where ((round(sysdate - u.RecordDate) > 0) || (round(sysdate - u.Payment_date) > 0))
任何想法我如何获得日期差异超过一天的记录?