关于MySQL的concat函数的一个,该怎么解决
1个回答
展开全部
SELECT a.*,group_concat(b.picture_path) FROM ep_pollution_comments a LEFT
JOIN ep_pollution_comments_picture b ON a.comments_id = b.comments_id group by a.comments_id,a.pollution_id,a.comments_chile,a.comments_info, a.create_time,a.user_id;
JOIN ep_pollution_comments_picture b ON a.comments_id = b.comments_id group by a.comments_id,a.pollution_id,a.comments_chile,a.comments_info, a.create_time,a.user_id;
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询