好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

mysql分组查询和排序

user_name from t_user group by user_name order by id
 select  sex, avg (math) , count (id) ID  from  student  group   by  sex having ID>2;  --ID是别名

 

mysql分组查询和排序

标签:span   nbsp   group by   where   class   函数   math   group   user   

查看更多关于mysql分组查询和排序的详细内容...

  阅读:21次