Top "Sql-server-group-concat" questions

In MySQL GROUP_CONCAT functionality is comma separated values grouped by a defined key.

Multiple rows to one comma-separated value in Sql Server

I want to create a table valued function in SQL Server, which I want to return data in comma separated …

sql-server sql-server-group-concat
How to make a query with group_concat in sql server

I know that in sql server we cannot use Group_concat function but here is one issue i have in …

sql-server string-aggregation sql-server-group-concat
SQL, How to Concatenate results?

I currently have a SQL query that returns a number of fields. I need one f the fields to be …

sql sql-server sql-server-2005 concatenation sql-server-group-concat
How to concatenate all strings from a certain column for each group

Suppose I have this table [Table1] Name Mark ------- ------ ABC 10 DEF 10 GHI 10 JKL 20 MNO 20 PQR 30 What should be my …

sql sql-server tsql xquery sql-server-group-concat
SQL comma-separated row with Group By clause

I have the following query: SELECT Account, Unit, SUM(state_fee), Code FROM tblMta WHERE MTA.Id = '123' GROUP …

sql sql-server sql-server-2005 aggregate-functions sql-server-group-concat
string concatenate in group by function with other aggregate functions

Is it possible to concatenate strings with one or more of other group by function like sum, avg, count etc . …

sql sql-server tsql aggregate-functions sql-server-group-concat
Concatenate one field after GROUP BY

This question have been asked many times in SO but none of the answers is satisfying to my situation. Question 1 …

sql sql-server group-by scalability sql-server-group-concat
group_concat in SQL Server 2012 with ORDER BY another column

I have a table containing ~ a million entries like this: customer_id | purchased_at | product 1 | 2012-06-01 00:00 | apples 1 | 2012-09-02 00:00 | …

sql-order-by sql-server-2012 sql-server-group-concat
How to use GROUP BY to concatenate strings while joining multiple tables?

I'm joining multiple tables in which I want one column value into row according to TechnicianName: I have 4 tables easy_…

sql sql-server sql-server-2008 tsql sql-server-group-concat