日期范围查询 oracle

查询2011-05-02到2011-05-30之间的数据table 有如下方式date 1、to_date方式:select select * from tablename where time>= to_date('2011-05-02','yyyy-mm-dd')  and  time<=to_date('2011-05-30','yyyy-mm-dd')im 运行的结果是:能够显示05-02
相关文章
相关标签/搜索