MySQL关于根据日期查询数据的sql语句
摘要:查询在某段日期之间的数据: select * from 数据表 where 时间字段名 BETWEEN '2016-02-01' AND '2016-02-05' 查询往前3个月的数据: select * from 数据表 where 时间字段名 BETWEEN DATE_SUB(NOW(),INT
阅读全文
posted @ 2019-12-20 13:39
posted @ 2019-12-20 13:39
posted @ 2019-12-18 16:40
posted @ 2019-12-16 13:56
posted @ 2019-12-13 16:02
posted @ 2019-12-04 11:34
posted @ 2019-12-02 23:36
posted @ 2019-12-02 23:24