First, here is the query:
SELECT GROUP_CONCAT(title) title, GROUP_CONCAT(description) description,
skill_id, count(*)
FROM jobs j
INNER JOIN job_feed_details d
ON j.id = d.job_id
JOIN jobs_skills js
ON j.id = js.job_id
WHERE moderated = 1
group by skill_id
Everything works as expected except the description field only returns one result, instead of a concatenation of all results. I suspect this is because the description is a text
field, but I cannot find anything about why concatenation would not work with a text field.
Anyone know why this would not work?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…