Home > Database > Mysql Tutorial > body text

max()-问一个sql问题,hour()获取日期的小时,然后给他赋值最大值,但是为什么出错了

WBOY
Release: 2016-06-06 09:35:36
Original
1180 people have browsed it

max()mysqlhour()

hour(stat_time)=max(hour(stat_time))提示Invalid use of group function

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