Maybe I have never searched in the right place but I often wonder what is the best practice to store multiple data in one field and I have never found an answer that I could use.
Let me be more clear with an example.
Let's say I have a "hobbys" field in a user_table
When the user signup he want to add tennis, video game, and piano to his profile.
Is it better:
To create different fields for every hobby like:
hobby_id_1, hobby_id_2, hobby_id_3Or create a single field called hobbys and insert data separated with a comma ? hobbys_id => 1,4,5 (is this solution is actually possible ?)
And then when we want to update those data and add a new hobby for example, how do we do that ?
Any small help would be greatly appreciated.
Thank you in advance :)