How do I prefix a string to a field before GROUP_CONCAT
this
id test_id 1 4 2 4 2 5 3 5 1 5 1 6
to
id test_id 1 id_4,id_5,id_6 2 id_4,id_5 3 id_5
I want id_ prefixed to the test_id before I can get it by GROUP_CONCAT in MySQL
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1 Answer