mysql 拼接年月日

STR_TO_DATE(concat(stat_year,'-',stat_month,'-',stat_day),'%Y-%m-%d')

 

posted @ 2021-12-01 09:10  二次元的程序猿  阅读(703)  评论(0)    收藏  举报