Re: Query divides movie titles into different columns
good morning Peter,
I think it can be fine
SELECT
a.actor_id actId,
a.act_img actImg,
group_concat(DISTINCT f1.title ORDER BY f1.film_id) title
FROM
(select film_id,actor_id
from film_actor where actor_id = 1) fa1 inner join film f1 ON fa1.film_id = f1.Film_id
inner join actor a ON fa1.actor_id = a.actor_id
--- result
actId actImg title
1 l_blair.jpg Exorcist-I,Exorcist-II
Subject
Written By
Posted
November 13, 2019 11:58PM
November 14, 2019 02:21PM
November 14, 2019 02:47PM
November 14, 2019 04:29PM
November 14, 2019 04:35PM
November 14, 2019 05:01PM
November 14, 2019 05:14PM
November 14, 2019 06:25PM
November 14, 2019 07:27PM
November 15, 2019 10:03AM
Re: Query divides movie titles into different columns
November 16, 2019 03:11AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.