Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql select multiple rows into one column

SELECT
	GROUP_CONCAT(DISTINCT id SEPARATOR ', ') AS 'ids'
FROM
	table_name
WHERE
	column_name = 'value'
 
PREVIOUS NEXT
Tagged: #mysql #select #multiple #rows #column
ADD COMMENT
Topic
Name
3+8 =