Home > Database > Mysql Tutorial > Mysql获取当前时间的前几天和字段中的时间进行比较_MySQL

Mysql获取当前时间的前几天和字段中的时间进行比较_MySQL

WBOY
Release: 2016-06-01 13:02:31
Original
1191 people have browsed it

DELETE FROM zhongqiu WHERE caretatime

caretatime字段为时间字段
`caretatime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,



-14为14天以前

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template