oeacle数据库,有一列t1值,格式为 2021/02/02 02:02:02 ,现在筛选t1等于当前日期,怎么写sql
select * from 表 where to_char(t1,'yyyy/mm/dd')=to_char(sysdate,'yyyy/mm/dd')
select * from 表名 where to_char(字段名,'dd')=to_char(sysdate,'dd')