库-php+mysql查询历史时间中消费最高的一天

WBOY
Release: 2016-06-02 11:32:25
Original
893 people have browsed it

php库查询

库字段

ID 时间 消费

1 2015-4-1 500

2 2015-4-2 300

3 2015-4-2 600

4 2015-4-5 400

5 2015-4-5 300

查询统计历史时间中消费最高的一天, 也就是把每一天消费相加, 取历史最高的一天显示,PHP+MYSQL如何实现?实SQL语句

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