merhaba,
benim bir tablomda
id ve post var
soru cevap şeklinde olduğu için
örneğin
id | post
2 | soru: can you say hello ?
2 | cevap: yes i can
ben aynı id'ye sahip bu soru cevabı birleştirip bir id den birden fazlasının olmasını istemiyorum herbişeyi denedim artık kafam durdu diyebilirim. olmasını istediğim şu
id | post
2 | soru: can you say hello ? cevap: yes i can
select topic_id, group_concat(post_text separator ',')
from bb_posts
group by topic_id
ile çözdüm.