数据库日期格式化

to_char(to_date(day_key,'yyyymmdd'),'yyyy-mm-dd') as time_desc

原文地址:https://www.cnblogs.com/vicky-upc/p/5724563.html