Oracle 查询今日、昨日、本周、本月和本季度的全部记录

Oracle 查询今日、昨日、本周、本月和本季度的全部记录 字段类型为date 今日  select * from 表名 where to_char(字段名,'dd')=to_char(sysdate,'dd')ide 昨日spa select * from  表名 where to_char(字段名,'dd')= to_char(sysdate-1,'dd') 本周   select * fro
相关文章
相关标签/搜索