Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我有一个表订单并有列
LastUpdatedDate, status.
我想做的是-
选择所有“P”状态的订单,lastupdate 是从当前日期起两天后
.
任何人都可以帮助我编写查询以获得我的结果。
谢谢
尝试
select * from yourtable where status = 'P' and LastUpdatedDate < sysdate - 2