I have following Table
| id | a | b | c |
-------------------
| 1 | x | y | r |
| 2 | x | y | q |
| 3 | x | y | f |
Result should be
| a | b | c |
-------------
| x | y | r,q,f |
Tried with
select a, b, group_concat(c) from table;
but it says:
Error Code: 1140. In aggregated query without GROUP BY, expression #1 of SELECT list contains nonaggregated column 'table.table'; this is incompatible with sql_mode=only_full_group_by
Hope you can help me, thanks!