Puoi elencare i nomi in una riga con group_concat()
SELECT video_name, group_concat(cast_name) cast
FROM post
LEFT JOIN cast ON post.video_cast = cast.cast_video
WHERE video_id='$id'
group by video_name
Puoi elencare i nomi in una riga con group_concat()
SELECT video_name, group_concat(cast_name) cast
FROM post
LEFT JOIN cast ON post.video_cast = cast.cast_video
WHERE video_id='$id'
group by video_name