日期查询话语

日期查询语句select * from tb_product where createdate to_date(2011-6-15,yyyy-MM-dd) - 1 and c

日期查询语句
select * from tb_product where

createdate > to_date('2011-6-15','yyyy-MM-dd') - 1

and

createdate<=to_date('2011-6-16','yyyy-MM-dd') + 1