<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_AnyKoro_分类_SQL相关</title><id>http://feed.cnblogs.com/blog/u/53802/category/240358/rss</id><updated>2012-05-27T23:39:48Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/JosephLiu/category/240358.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/53802/category/240358/rss"/><entry><id>http://www.cnblogs.com/JosephLiu/archive/2010/04/05/1704492.html</id><title type="text">[转]  group by使用</title><summary type="text">通用数据库具有基于表的特定列对数据进行分析的能力。 可按照在 GROUP BY 子句中定义的组对行进行分组。以其最简单的形式，组由称为分组列的列组成。 SELECT 子句中的列名必须为分组列或列函数。列函数对于 GROUP BY 子句定义的每个组各返回一个结果。下列示例产生一个列出每个部门编号的最高薪水的结果：SELECT DEPT, MAX(SALARY) AS MAXIMUM FROM STA...</summary><published>2010-04-05T00:02:00Z</published><updated>2010-04-05T00:02:00Z</updated><author><name>AnyKoro</name><uri>http://www.cnblogs.com/JosephLiu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/JosephLiu/archive/2010/04/05/1704492.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/JosephLiu/archive/2010/04/05/1704492.html"/><content type="text">通用数据库具有基于表的特定列对数据进行分析的能力。 可按照在 GROUP BY 子句中定义的组对行进行分组。以其最简单的形式，组由称为分组列的列组成。 SELECT 子句中的列名必须为分组列或列函数。列函数对于 GROUP BY 子句定义的每个组各返回一个结果。下列示例产生一个列出每个部门编号的最高薪水的结果：SELECT DEPT, MAX(SALARY) AS MAXIMUM FROM STA...</content></entry></feed>
