Я использую простую таблицу вроде:
tbl
--------------------
name |Description
--------------------
name1 |text1
name2 |
name3 |text3
с этим запросом:
SELECT
GROUP_CONCAT(CONCAT_WS(' (', name, COALESCE(description))
SEPARATOR ', ') AS `test`
FROM
tbl
возвращается:
name1 (text1), name2 (), name3 (text3)
Мне нужно:
name1 (text1), name2, name3 (text3)
Как я могу это сделать?