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

相关文章: