I have trouble figuring out how to join multiple rows from a second table. I have tried using GROUP_CONCAT
but I want to display them as an array (see green box in the picture below)
The main issue here is the 1,2,4
from the airways-column. I really want to avoid having a third table just to connect the two tables together. I understand arrays are difficult to store in MySQL, but is there some magical way of getting the desired info from the tables below?
I wish I had some code, but I am lost here. Very thankful for pointers!