📜  mysql 代码示例中的 group_concat

📅  最后修改于: 2022-03-11 15:04:57.855000             🧑  作者: Mango

代码示例6
//returns the concatenated string from multiple rows into a single string
 SELECT emp_id, emp_fname, emp_lname, dept_id,     
GROUP_CONCAT(designation) as "designation" FROM employee group by emp_id;