Home >Database >Mysql Tutorial >mysql-MySQL的having用法问题。

mysql-MySQL的having用法问题。

WBOY
WBOYOriginal
2016-06-06 09:40:08931browse

mysql

SELECT sex,age FROM users GROUP BY 1 HAVING age>35;如图,这样查询是不是意义??结果集的age是不是索引匹配的第一行的值。。图片

Statement:
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