Top "Group-concat" questions

a function which returns a string representation of the concatenated, non-NULL values of a group

JOIN and GROUP_CONCAT with three tables

I have three tables: users: sports: user_sports: id | name id | name id_user | id_sport | pref ---+-------- ---+…

mysql sql join group-concat
Trouble with GROUP_CONCAT and Longtext in MySQL

The SQL... UPDATE Threads t SET t.Content = ( SELECT GROUP_CONCAT(a.Content ORDER BY a.PageID SEPARATOR '<!…

mysql group-concat truncated longtext
GROUP_CONCAT equivalent in Django

Say I have the following table called fruits: id | type | name ----------------- 0 | apple | fuji 1 | apple | mac 2 | orange | navel My goal …

mysql django group-concat
Search GROUP_CONCAT using LIKE

I have an SQL query that uses GROUP_CONCAT to get all people attached to a certain order. Is there …

mysql group-by group-concat
GROUP_CONCAT multiple fields with a different separator

Is it possible to do something like: GROUP_CONCAT(user, price SEPARATOR ', ') AS items The result is John3.99, …

mysql group-concat
mysql join with multiple values in one column

I need to make a query that creates 3 columns that come from 2 tables which have the following relations: TABLE 1 has …

mysql sql group-concat
Mysql IF IN GROUP_CONCAT breaks

Im doing a fairly big SQL so I apologizes that cant provide a bigger example of my tables. SELECT customer_…

mysql group-concat
Group_Concat in Concat not working with NULL values

I have a table CREATE TABLE IF NOT EXISTS `dept` ( `did` int(11) NOT NULL, `dname` varchar(50) DEFAULT NULL ) ENGINE=InnoDB …

mysql group-concat
MySQL: UPDATE with a JOIN and a GROUP_CONCAT

Is this possible? I have 2 tables, Customers and Orders. Now I want to fill a column in Customers with all …

mysql join group-concat mysql-error-1111
Show a one to many relationship as 2 columns - 1 unique row (ID & comma separated list)

I need something similar to these 2 SO questions, but using Informix SQL syntax. Concatenate several fields into one with SQL …

sql concatenation one-to-many informix group-concat