Working with MySQL, I've got two tables - one with videos, the other with products. Each row in the products table has a column called productVideoOrder, which is a comma separated list of videoIDs (relating to the video table) in the order that the user has placed them.
What I describe below would be easier if the relationship was in an intermediate table, but for other functions of this project, the comma separated list made sense.
I'm trying to get a table that returns column one: videoTitle, column two: productName. Is there a way to left join based on a comma separated list? I would like the results table to allow repeated rows, for example, if two product lists video one in the productVideoOrder, this table would have two rows for that video, one listing product one, the other listing product two.
I can clarify anything needed. Thanks in advance!