to_char()
select count(*) from SPORTS where to_char(ap_time,'YYYY/MM/DD')='2019/06/20';
过滤(时分秒)查日期
SELECT to_char(ap_time,'YYYY/MM/DD') from SPORTS;
to_char()
select count(*) from SPORTS where to_char(ap_time,'YYYY/MM/DD')='2019/06/20';
过滤(时分秒)查日期
SELECT to_char(ap_time,'YYYY/MM/DD') from SPORTS;