logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

【MySQL】日期函数使用(获取本月第一天、本月最后一天、上月第一天、上月最后一天…)

查询2020的数据:select * from table where year(column)='2020';查找月份为12的数据:select * from table where month(column)='12';查找天数为本年第二天的数据:select * from table where dayofyear(column)='2';year,month,dayofyear是mysql

文章图片
#数据库#mysql
暂无文章信息