ORACLE时间段查询优化的问题。_百度知道
最佳答案: 试试下面语句: SELECT SID, SSJSID, RQ, SJ FROM JING_SS Where to_char(rq,'yyyyMMdd') between 开始日期 and 结束日期 and not to_char(sj,...更多关于问一下 关于 oracle 查询时 效率的优化问题?的问题>>
oracle count 时间范围查询效率问题_百度知道
最佳答案: SELECT count(1) FROM table1 t1 inner join table2 t2 on t1.id = t2.id WHERE t1.datatime >to_date('2012/7/11 00:00:00', 'yyyy-...更多关于问一下 关于 oracle 查询时 效率的优化问题?的问题>>