where,group by, having order by

使用说明:html select 列x[,聚合函数] from 表名 where 筛选条件 group by 列x(是select那里的列x) having 过滤条件 order by 列名(或聚合函数,须要时select那里出现的) [desc | asc] 执行顺序:web 一、 where返回符合条件的结果集 二、 group by返回分类结果集 三、 select返回选择后的结果
相关文章
相关标签/搜索