I am having two tables in the MySQL. Table Person has the below columns:
id | name | fruits
The fruits column may contain null or an array of strings like ('apple', 'orange', 'banana'), or ('strawberry'), etc. The other table is named Table Fruit and containing the below three columns:
____________________________
fruit_name | color | price
____________________________
apple | red | 2
____________________________
orange | orange | 3
____________________________
...,...
So how should I design the fruits column in the first table so that it can contain an array of strings that take the values from the fruit_name column in the second table? Considering there is no array data type in the MySQL, how should I do it?