Home > Backend Development > PHP Tutorial > mysql取表中《最新》三天的记录,sql语句如何写

mysql取表中《最新》三天的记录,sql语句如何写

WBOY
Release: 2016-06-13 12:45:38
Original
1047 people have browsed it

mysql取表中《最新》三天的记录,sql语句怎么写
mysql取表中最新三天的记录,sql语句怎么写。从网上查了一条,但这是以当前时间为起点取最近几天的记录select * from rewards where DATE_SUB(CURDATE(), INTERVAL 4 DAY)
 

MySQL
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