查询离指定日期最近的一条数据(oracle)时间:2023-03-09 06:47:47 select * from ( Select * from t_currency_rate where f_orig_curr='USD' and f_dest_curr='RMB' Order by abs(f_date-sysdate) ) a where rownum=1