Question: Explain the purpose of the SQL GROUP_CONCAT() function.Answer: The GROUP_CONCAT() function is used to concatenate values from multiple rows into a single string, grouped by a specified column.Example:
|
Is it helpful?
Yes
No
Most helpful rated by users:
- What is SQL?
- What is the difference between SQL and MySQL?
- What is a primary key?
- What is an index in a database?
- What is a foreign key?