SELECT q.*, a.answer FROM `questions` q LEFT JOIN ( SELECT question_id, GROUP_CONCAT(text SEPARATOR '|| ') answer FROM answers GROUP BY question_id ) a ON q.uid = a.question_id WHERE q.deleted = 0 GROUP BY q.uid This query selects questions and answers to them, sticking them together. In the plate, the answers are stored as text . When sampling and concatenation of the text is cut off. For example, if I have 3 large answers, the whole first answer and half of the second return me somewhere. If you make these answers small in the database, everything is fine. What is the problem here?