求大神帮忙一个棘手的问题

a表有多条数据
A表中有字段price和date
有下列5条数据:

price || date
21 2017-01-01
23 2017-01-05
32 2017-01-10
40 2017-01-13
44 2017-02-14

得到一个日期 就要取出来相对应的price
比如2017-01-03 那么price的值就取21

如果2017-01-12 那么price的值就取32
如果2017-02-14 那么price的值就取44

求大神Oracle查询语句怎么写 或者给个思路也行

这个很好弄呀,一条sql语句就能完成。select price from a where date="日期"

select price from a where date="参数"