I have a table with films and the dates they were shown on along with other info in other columns, in MySQL
So relevant columns are...
FilmID
FilmName
DateShown
The dates are stored as Unix timestamps
.
I currently have multiple instances of films that were shown on different dates yet all other information is the same.
So I want to merge rows
where the FilmName
is the same but the DateShown
is different, and join the DateShown
fields into a comma separated list.
I've searched but struggled to find this exact query. Is it possible?
Also is it bad form in terms of database design to store the timestamps as a comma separated list?
Thanks