MariaDB Sélectionnez plusieurs lignes en une seule colonne
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'