Home >> MySql >> GROUP_CONCAT() function in MySql

GROUP_CONCAT() function in MySql

GROUP_CONCAT() function is used to concatenate column values into a single string.

Example

SELECT GROUP_CONCAT(first_name) FROM employee

Post Your Comment

Next Questions
CONCAT_WS() function
CHECKSUM_AGG() aggregate function
ABS(n) aggregate function
POWER(m,n) aggregate function
ROUND() aggregate function
SQRT() aggregate function
GREATEST() aggregate function
LEAST() aggregate function
EXP() aggregate function
EXTRACT() aggregate function
MOD() aggregate function
TRUNC() aggregate function
FLOOR() aggregate function
CEIL() aggregate function
FIRST() aggregate function
LAST() aggregate function
MID() aggregate function
LEN() aggregate function
NOW() aggregate function
FORMAT() aggregate function
COUNT() aggregate function
LOWER() aggregate function
UPPER() aggregate function
INITCAP() aggregate function
SUBSTR() aggregate function

Copyright ©2022 coderraj.com. All Rights Reserved.