select create_time from xxx;
select to_char(create_time,'yyyy-MM-dd HH24:mm:ss') as create_time from xxx
居然达不到想要的效果
select date_trunc('second',create_time) as create_time from xxx
解决。。。
2022-10-30 08:28:42
select create_time from xxx;
select to_char(create_time,'yyyy-MM-dd HH24:mm:ss') as create_time from xxx
居然达不到想要的效果
select date_trunc('second',create_time) as create_time from xxx
解决。。。