![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
sql
dapeng36
这个作者很懒,什么都没留下…
展开
-
group by 和 order by
1:按name 分组查询后,并排序, select count(*) from t_acount_addmoney t where id >161 group by name order by count(*) desc 2:按name 分组查询后,并排序,取出name ,总条数。 select t.name, count(*)from t_acount_addmoney t where i...2007-11-28 15:03:19 · 65 阅读 · 0 评论 -
MySQL 5.1参考手册
非常好用的mysql参加手册简体中文版2010-04-01 17:32:15 · 76 阅读 · 0 评论