[英]SQL group by — can merge?
在SQL中,我们可以添加group by子句-然后对特定(数字)列执行sum , count或avg 。 有没有一种方法可以“合并” /“连接”特定的列-对于每个组?
我需要在一条SQL语句中完成此操作
我在下面的链接http://www.oracle-base.com/articles/misc/StringAggregationTechniques.php中找到了答案
[英]SQL merge table and group by
[英]SQL group by - merge groups
[英]SQL, Group by, merge strings
[英]SQL Group by with merge
[英]SQL MERGE using GROUP BY
[英]Sql query to group by and merge rows
[英]Group by in SQL Server and then rows merge
[英]SQL Merge/Group lines into a single one
[英]SQL - Group Values by Percentile/Merge Rankings
[英]SQL Server How to merge rows in group by
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.