sql笔记 得闲饮茶1999 2022-11-14 59 阅读1分钟 1.提取时间中 年月值 格式 YY-MM date_format(time,'%Y-%m') 2.DATE() 函数返回 YY-MM-DD