从日期中提取年月日

select day(date), month(date), year(date) from user;

day, month, year取出的是数字

posted @ 2022-01-17 11:19  江湖凶险  阅读(428)  评论(0编辑  收藏  举报