Mariadb Wybierz wiele wierszy do jednej kolumny
SELECT
GROUP_CONCAT(DISTINCT id SEPARATOR ', ') AS 'ids'
FROM
table_name
WHERE
column_name = 'value'
MatrixZA
SELECT
GROUP_CONCAT(DISTINCT id SEPARATOR ', ') AS 'ids'
FROM
table_name
WHERE
column_name = 'value'